write a program that asks the user to enter the month ( letting the user enter a
ID: 640819 • Letter: W
Question
write a program that asks the user to enter the month ( letting the user enter an integer of 1 through 12) and the year. T he program should then display the number of days in that month. use the following criteria to identify leap year.
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.
2. if the year is not divisible by 100, then it isa leap year if and if only it is divisible by 4.