Question: modify this in C so that it follows the instructions and works. 1 2 3 4 4 /* Months 4, 6, 9 and 11 have
modify this in C so that it follows the instructions and works.


1 2 3 4 4 /* Months 4, 6, 9 and 11 have 30 days, Months 1, 3, 5, 7, 8, 10 and 12 have 31 days*/ /* Month 2 usually has 28 days except when it is leap year*/ /* Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100 */ /* But these centurial years are leap years if they are exactly divisible by 400 */ /* For example, the years 1700, 1800, and 1990 were not leap years, but the years 1600 and 2000 were /* Based on these facts, evaluate the eneterd day, month, year is valid or invalid year/month/day Total no. of bugs: 20 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
