-->
当前位置:首页 > 题库

PROGRAMMING:How many days did you live

Luz5年前 (2021-05-10)题库356
Life is short, time flies, the vast majority of people live less than 40000 days, cherish every day, live up to time. This procedure according to the input birthday and the current date to calculate the number of days have lived and output.
###Input format:
Enter the date of birth and the current date in one line. Enter by date, month and day. Ensure that the date of birth is less than the current date.
###Output format:
Output the live days in the format of you have live n days, where n is the calculated live days.
###Input example:
```in
2001 10 1
2020 11 20
```
###Output example:
```out
You have lived 6990 days.
```
###Input example:
```in
2020 2 1
2020 3 1
```
###Output example:
```out
You have lived 29 days.
```






answer:If there is no answer, please comment