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

PROGRAMMING:Date format around B.C

Luz5年前 (2021-05-10)题库392
This topic requires reading a date in the format of: year / month / day, output whether it is BC or B.C. - month-day. If the year >0 indicates after B.C., the year < 0 means BC. Month and day must output 2 bits, less than 0 to complete.
###Input format:
Enter a date in the format of year / month / day.
###Output format:
Output this date is before B.C. or a certain month or a certain day in a certain year after B.C., and the month and day must be output with 2 digits, which is insufficient to be filled with 0. Year is output according to actual.
###Input sample 1:
```in
2000/1/1
```
###Output sample 1:
```out
January 1, 2000 B.C
```
###Input sample 2:
```in
-200/1/1
```
###Output sample 2:
```out
January 1, 200 BC
```






answer:If there is no answer, please comment