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 07:00
Robots with telescoping arms are sometimes used to perform tasks (e.g., welding or placing screws) where access may be difficult for other robotic types. during a test run, a robot arm is programmed to extend according to the relationship r = 3 + 0.5cos(4θ) and the arm rotates according to the relationship θ=−π4t2+πt , where r is in feet, θ is in radians, and t is in seconds. use a computer program to plot the path of tip a in x and y coordinates for 0 ≤ t ≤ 4s.
Answers: 2
question
Computers and Technology, 22.06.2019 16:30
Primary tech skills are skills that are necessary for success in online education
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
You are new to microsoft certification and want to start out by getting a certification geared around windows 8. what microsoft certification should you pursue?
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Read “suburban homes construction project” at the end of chapters 8 and 9 (in the textbook) and then develop a wbs (work breakdown structure) in microsoft excel or in microsoft word (using tables)
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
Mathematics, 02.03.2021 07:40
question
Mathematics, 02.03.2021 07:40
question
Social Studies, 02.03.2021 07:40
question
English, 02.03.2021 07:40
question
Mathematics, 02.03.2021 07:40
question
Mathematics, 02.03.2021 07:40