Write a program to input month number and print number of days in that
month.
Answers
Answered by
1
Answer:
get the input month as a number N. Using switch statement when value of N is one of 1,3,5,7,810,12 then print "31 days ". corresponding to switch case . If N is one of these value 4,6,9,11 then print "30 days " . corresponding to switch case
Similar questions