✓ Kizspy.me APPLE
OUTPUT:
3
Press any key to continue
Question 10:
(1 mark, file to be edited: Q10.c)
Ask the user to enter an array of N months (1-12) and a year Y. Print the number of days in each month.
Example Run:
Input: Year 2024; NumberOfMonths = 4; Months = {2, 4, 6, 8}
Zoom
+ 100%
2024
4
2468
OUTPUT:
29 30 30 31
Press any key to continue
Close