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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:30, rebekah2503
Identify at least three types of characteristics that you were asked about as you the computer identify a fruit.
Answers: 3
image
Computers and Technology, 23.06.2019 02:30, hailey5campbelp7d1c0
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
image
Computers and Technology, 23.06.2019 04:20, RandomLollipop
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
image
Computers and Technology, 23.06.2019 07:30, Morganwing1019
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 2
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 in other subjects:

Konu
Mathematics, 13.10.2019 00:10