Problem Statement
Write a program in C to read any Month Number in integer and display the number of days for this month.
The months are numbered from 1 to 12, where:
- 1 = January
- 2 = February
- 3 = March
- 4 = April
- 5 = May
- 6 = June
- 7 = July
- 8 = August
- 9 = September
- 10 = October
- 11 = November
- 12 = December
For this exercise, assume February has 28 days (non-leap year).
Example: If the input is 7 (July), the output should be "Month have 31 days".