Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Book exercise 3.11: (Finding the number of days in a month) Write a program that

ID: 3620110 • Letter: B

Question

Book exercise 3.11: (Finding the number of days in a month) Write a program that prompts the user to enter the month and year and displays the number of days in the month. For example, if the user entered month 2 and year 2000, the program should display that ”February 2000 has 29 days”. If the user entered month 3 and year 2005, the program should display that ”March 2005 has 31 days”.
(Hint: February has 29 days in years evenly divisible by 4 or 400, but not 100. Your program should display the full month name, year, and how many days it contains.)

Explanation / Answer

please rate - thanks I don't understand why a loop in the title of this post. ones not needed. if you haven't learned else if yet just change all else if
to if if you haven't learned else message me
and please remember to rate if you have any other unrated answers