Todays #daily-challenge might be the easiest one so far.
Your task is to ask for a year, and the program should return a yaillist which tells:
- Which millennium a year is in
- Which century a year is in
- Which decade a year is in
(0 < year < 5000)
Sample inputs and outputs:
year(2020) => (3 21 202) year(1532) => (2 16 154)