Question: You will be developing a program that determines if a date is between a start and end date. Ask the user for a starting and

You will be developing a program that determines if a date is between a start and end date.

Ask the user for a starting and ending date in the form of YYYY MM DD.

Then ask the user for a date in the same form. If the date is between the starting and ending date, print "IN RANGE", otherwise print "OUT OF RANGE".

Example

Enter start date: 2017 1 24 Enter end date : 2019 1 24 Enter date : 2018 1 5 IN RANGE Enter start date: 2017 1 24 Enter end date : 2019 1 24 Enter date : 1952 7 16 OUT OF RANGE

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!