13603 - EECS2310_Lab_3_2   

Description

Write a program to input a date in year 2021 and calculate the number of days from 2021/1/1 to your input date, inclusive. You should exclude invalid inputs such as 1/32, 2/29, 13/1, ...

Input

1/1

12/31

Output

There is 1 day

There are 365 days

Sample Input  Download

Sample Output  Download

Tags




Discuss