Answered step by step
Verified Expert Solution
Link Copied!
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

image text in transcribed

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students explore these related Databases questions