Question: Write a program reverse-order.cpp which asks the user to input two dates (earlier date then later date). The program should report the West basin elevation
Write a program reverse-order.cpp which asks the user to input two dates (earlier date then later date). The program should report the West basin elevation for all days in the interval in the reverse chronological order (from the later date to the earlier).
Example:
$ ./reverse-order Enter earlier date: 05/29/2018 Enter later date: 06/02/2018 06/02/2018 590.22 ft 06/01/2018 590.23 ft 05/31/2018 590.24 ft 05/30/2018 590.26 ft 05/29/2018 590.32 ft
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
