subject

4) days in a month write a c program that asks the user to enter the month (letting the user enter an integer in the range of 1 through 12) and the year. the program should then display the number of days in that month. use the following criteria to identify leap years: 1. determine whether the year is divisible by 100. if it is, then it is a leap year if and only if it is divisible by 400. for example, 2000 is a leap year but 2100 is not. 2. if the year is not divisible by 100, then it is a leap year if and if only it is divisible by 4. for example, 2008 is a leap year but 2009 is not. remember that january, march, may, july, august, october and december have 31 days. april, june, september, november have 30 days. use ints for the month and year.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
When building customer relationships through email what should you not do? question 2 options: utilize proper grammar, spelling, and punctuation type in all capital letters use hyperlinks rather than attachments respond to all emails within 24 hours
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
Create a pseudocode design to prompt a student for their student id and the titles of the three classes they want to add. the solution should display the student’s id and a total bill. • bill a student using the following rules: o students can only add up to 3 classes at a time.
Answers: 3
question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
In vista and windows 7, the appearance and personalization option allows you to change the
Answers: 1
You know the right answer?
4) days in a month write a c program that asks the user to enter the month (letting the user enter a...
Questions
question
Health, 02.07.2021 09:30
Questions on the website: 13722361