Given a year, return the century it is in. The first century spans from the year 1 up to and including the year 100, the second - from the year 101 up to and including the year 200,
Answers
Answered by
0
From the year 1 to 100 is the 1st century. From 101 to the year 200 is the 2nd century . Continue on.
Similar questions