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 17:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
What is the total resistance in a circuit that contains three 60 ohm resistors connected in a series? a. 20 ohms b. 120 ohms c. 60 ohms d. 180 ohms
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
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, 04.02.2021 22:10
question
Mathematics, 04.02.2021 22:10
question
Mathematics, 04.02.2021 22:10
question
Mathematics, 04.02.2021 22:10
question
Mathematics, 04.02.2021 22:10
question
Mathematics, 04.02.2021 22:10
Questions on the website: 13722367