subject

Design and implement an application that reads an integer value representing a year from the user. the purpose of the program is to determine if the year is a leap year (and therefore has 29 days in february) in the gregorian calendar. a year is a leap year if it is divisible by 4, unless it is also divisible by 100 but not 400. for example, the year 2003 is not a leap year, but 2004 is. the year 1900 is not a leap year because it is divisible by 100, but the year 2000 is a leap year because even though it is divisible by 100, it is also divisible by 400. produce an error message for any input value less than 1582 (the year the gregorian calendar was adopted).

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
One of your customers wants you to build a personal server that he can use in his home. one of his concerns is making sure he has at least one backup of their data stored on the server in the event that a disk fails. you have decided to back up his data using raid. since this server is for personal use only, the customer wants to keep costs down. therefore, he would like to keep the number of drives to a minimum. which of the following raid systems would best meet the customer's specifications? a. raid 0 b. raid 1 c. raid 5 d. raid 10
Answers: 3
question
Computers and Technology, 23.06.2019 08:00
Match the items with their respective descriptions.
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
How can smart devices benefit businesses, organizations, and social communities in the global marketplace?
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
What is the total number of time zones that can be configured to show by default in a calendar in outlook 2016?
Answers: 1
You know the right answer?
Design and implement an application that reads an integer value representing a year from the user. t...
Questions
question
Mathematics, 27.10.2020 19:40
question
History, 27.10.2020 19:40
question
Mathematics, 27.10.2020 19:40
question
Physics, 27.10.2020 19:40