Question: Question 1 : Given a month and year, write a program to find the number of days in the month in the given year using
Question 1 : Given a month and year, write a program to find the number of days in the month in the given year using a function
| Example | Month = 4 Days =30 | Year = 2000 | ||||
|
|
Month = 2 Days = 28 |
Year =2000 | ||||
|
Total Marks : 30 |
Month =12 Days=31
|
Year =1999 | ||||
|
| Control Structures usage | 5 marks |
| |||
|
| Outputs | Format | 2.5 marks |
| ||
|
| Correctness | 2.5 marks |
| |||
|
| Functions usage | 15 marks |
| |||
|
| Variables usage | 2.5 marks |
| |||
|
| comments |
|
| |||
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
