# | Problem | Pass Rate (passed user / total user) |
---|---|---|
13600 | EECS2310_Lab_3_1 |
|
13603 | EECS2310_Lab_3_2 |
|
13604 | EECS2310_Lab_3_3 |
|
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
Description
Write a program to input a date in year 2021 and find out which day of the week it is.As usual, there should be a new line at the end of the output string. You should exclude invalid inputs like Lab 3-2, too.
Input
10/14
Output
Thursday