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

If integer inputYear is in the inclusive range:
601-700, output "The 7th century".
701-800, output "The 8th century".
801-900, output "The 9th century".
Otherwise, output "Not in the period of research". End each output with a newline.

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!