Question: If integer inputYear is in the inclusive range: 4 0 1 - 5 0 0 , output The 5 th century. 5 0 1 -

If integer inputYear is in the inclusive range:
401-500, output "The 5th century".
501-600, output "The 6th century".
601-700, output "The 7th century".
Otherwise, output "Outside the range of study". End each output with a newline. c++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!