1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Norma-Jean [14]
3 years ago
10

A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To ac

count for the difference in time, every 4 years, a leap year takes place. A leap year is when a year has 366 days: An extra day, February 29th. The requirements for a given year to be a leap year are:
1) The year must be divisible by 4

2) If the year is a century year (1700, 1800, etc.), the year must be evenly divisible by 400

Some example leap years are 1600, 1712, and 2016.

Write a program that takes in a year and determines whether that year is a leap year.

Ex: If the input is:

1712
the output is:

1712 - leap year
Ex: If the input is:

1913
the output is:

1913 - not a leap year
LABACTIVITY

5.24.1: LAB: Leap year

0 / 10

main.py

Load default template...

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

else

isLeapYear = false;

}

else

isLeapYear = true;

}

else

isLeapYear = false;

if(isLeapYear)

System.out.println(inputYear + " is a leap year.");

else

System.out.println(inputYear + " is not a leap year.");

}
Computers and Technology
1 answer:
alexgriva [62]3 years ago
5 0

Answer:

hmmmmmmmmmmmmmmmmmmmmmmmmmmm

You might be interested in
A database administrator (DBA) must have a clear understanding of the fundamental business of an organization, be proficient in
Alexus [3.1K]

Answer: True

Explanation:

 Yes, the given statement is true that the DBA (Database administrator) utilize particular programming to store and arrange information.

The DBA is the proper understanding of the comprehension of the key business of an association, be capable in the utilization of chose database the executives frameworks, and remain side by side of developing advancements and new plan draws near.

The main purpose of the database administrator that it incorporate scope organization, establishment, setup, database plan, movement, execution checking, security, investigating, just as reinforcement and information recovery.

8 0
4 years ago
Jerry suspects that information about his Internet usage was sent to external websites without his knowledge. He is wary about t
balu736 [363]
I would say some kind of anti cookie software. Cookies are what the websites store to track info about you and your preferences. If you blocked their data collectors or turned of cookies for websites, you would likely stop getting ads and newsletters.
3 0
3 years ago
The objective of an Enterprise Resource Planning (ERP) system is to create a customized software program that integrates the inf
Fittoniya [83]

Answer:

True

Explanation:

Enterprise resource planning is the integration of various corporate functions using information technology. The main objective of a small or large manufacturing company's ERP project is to track its supply chain activities from inventory purchase to processing and final shipment to customers.

3 0
3 years ago
THIS IS PYTHON QUESTION
frozen [14]

Answer:

ok

Explanation:yes

4 0
3 years ago
When you program in a language that uses GUI components, you need to create them from scratch.
Leni [432]

Answer:

B. False

Explanation:

You do NOT need to start from scratch when you program in a language that uses GUI components. You can think of it like the components are add-ons to your programming language.

6 0
4 years ago
Read 2 more answers
Other questions:
  • Currently James’s company is using RADIUS for AAA services to connect wireless users to the Windows Active Directory domain. How
    10·1 answer
  • ________ allows only limited use of media that has been legally purchased.
    11·1 answer
  • Write a (java) program with a class called Sum1, using a while loop to add 10 numbers entered from the key-board.
    5·1 answer
  • 40 points to answer ALL
    9·2 answers
  • To distribute one or more presentations for use on another computer, which of the following features should you use?
    13·1 answer
  • Define file manager
    13·1 answer
  • What are the main security weaknesses of coaxial cable, twisted pair cable, and fiber optic cable? How might the router itself b
    8·1 answer
  • Ali has created a small program in Python, but he wants to store his data in a multi-dimensional array. He would like to use adv
    8·1 answer
  • Java
    5·1 answer
  • How to get an object from a container in java.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!