Question: IN C++ PLEASE Problem B: Sorting and Searching to enable efficient access to information (20 Points) In this problem, you will write a C++ program
IN C++ PLEASE



Problem B: Sorting and Searching to enable efficient access to information (20 Points) In this problem, you will write a C++ program that reads in storm data from a subset of the storm event data for the United States for the year 2017 (provided with the assignment), and enables a user to query the dataset for storm information by state or region. In order to do that, your program will: i. Obtain the data from a file specified by the user ii. Sort the data (using bubble sort - as specified in text and examples I have gone over in class and posted on the class moodle site) Iterate on user queries using a continuation loop, specifically: iii. Prompt the user for the State (or region) for which they want storm data Use a variant of linear search (like the linear search discussed in your text and to the linear search example I have reviewed in class and posted to the class moodle site) to print all Storm Events for the State specified by the user to the Console. a. b. Problem B: Sorting and Searching to enable efficient access to information (20 Points) In this problem, you will write a C++ program that reads in storm data from a subset of the storm event data for the United States for the year 2017 (provided with the assignment), and enables a user to query the dataset for storm information by state or region. In order to do that, your program will: i. Obtain the data from a file specified by the user ii. Sort the data (using bubble sort - as specified in text and examples I have gone over in class and posted on the class moodle site) Iterate on user queries using a continuation loop, specifically: iii. Prompt the user for the State (or region) for which they want storm data Use a variant of linear search (like the linear search discussed in your text and to the linear search example I have reviewed in class and posted to the class moodle site) to print all Storm Events for the State specified by the user to the Console. a. b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
