Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

we are using thia data from NYC open data IN C++ Write a program reverse-order.cpp which asks the user to input two dates (earlier date

we are using thia data from NYC open data image text in transcribed
image text in transcribed
IN C++
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 Hint: If for the previous tasks you did not use arrays, here you really have to read the data into arrays first, and only then report them in the required order. In this lab, we will be studying the Ashokan water levels for the year 2018. It is available from NYC Open Data. Please follow these instructions to download the dataset: 1. Follow the link NYC Open Data Current Reservoir Levels 2. Choose the View Data menu option (it will reload the page). View Data Visualize Export API 3. Filter data including only the year 2018. To do that: Click the blue button Filter . In its submenu Filter, click Add a New Filter Condition . Choose Date is between January 1, 2018 and December 31, 2018 Filter Conditional Formatting Sort & Roll-Up Filter Filter this dataset based on contents Date is between January 1, 2018 December 31, 2018 + Add a New Filter Condition 4. Sort entries by Date in the Ascending order. 5. Export the data: 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 Hint: If for the previous tasks you did not use arrays, here you really have to read the data into arrays first, and only then report them in the required order. In this lab, we will be studying the Ashokan water levels for the year 2018. It is available from NYC Open Data. Please follow these instructions to download the dataset: 1. Follow the link NYC Open Data Current Reservoir Levels 2. Choose the View Data menu option (it will reload the page). View Data Visualize Export API 3. Filter data including only the year 2018. To do that: Click the blue button Filter . In its submenu Filter, click Add a New Filter Condition . Choose Date is between January 1, 2018 and December 31, 2018 Filter Conditional Formatting Sort & Roll-Up Filter Filter this dataset based on contents Date is between January 1, 2018 December 31, 2018 + Add a New Filter Condition 4. Sort entries by Date in the Ascending order. 5. Export the data

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

3 > O Actual direct-labour hours Standard direct-labour hours...

Answered: 1 week ago