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

  1. marks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!