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
Get step-by-step solutions from verified subject matter experts
