Computer Science, asked by nishi9619618, 5 hours ago

1. a month number and year. Check validity. Year must be a four digit positive integer. Input If valid, print month name and check if the year inputted is a leap year.

Example 1 : Input : Month number : 14 Year : 2014

Output : Wrong month number

Example 2 : Input : Month number : 7 Year : 2020

Output : Month name : July Year is a leap year​

Answers

Answered by deepmala1900050
0

Explanation:

Example 2 : Input : 31 Output : Prime Odd Print sum of following series : 2/102 _ 5/100 + 10/98 _ 17/95 + 26/90 . . . . . . . . . n termsExample 2 : Input : 31 Output : Prime Odd

Print sum of following series :

2 _ 5 + 10 _ 17 + 26 . . . . . . . . . n terms 101 100 98 95 90 Print sum of following series :

2 _ 5 + 10 _ 17 + 26 . . . . . . . . . n terms 101 100 98 95 90 Input a month number and year. Check validity. Year must be a four digit positive integer. If valid, print month name and check if the year inputted is a leap year.

Example 1 : Input : Month number : 14 Year : 2014

Output : Wrong month number

Example 2 : Input : Month number : 7 Year : 2020

Output : Month name : July Year is a leap year

Similar questions