Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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. bStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started