Add functionality to retrieve a car record either by ID, Model, or price range.   Add menu options to retrieve a car record by a car by Id or Model name a user should be able to search by ID or by item name create only one submenu option for searching the search should not be case sensitive (for example, a user may enter sTRolleR or STROLLER); store items in all lower/upper case to expedite the search write one search function that can search by ID and name and goes through the array of structs/objects only once allow partial search; must return all matching items (for example, a user can enter "roll" to search for a "stroller"; return "rolls", "stroller"); see C++ find() function show the entire record if found or an appropriate message if not by a price range user should be able to enter the target price and the range; for example target price: 5000 range %: 20 20% of 5000 is 1000, display all valid car records with a price at least $4000 (5000-1000) and no more than $6000 (5000+20%)

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter7: String Manipulation
Section: Chapter Questions
Problem 6E
icon
Related questions
Question

Add functionality to retrieve a car record either by ID, Model, or price range.

 

Add menu options to retrieve a car record

by a car by Id or Model name

a user should be able to search by ID or by item name

create only one submenu option for searching

the search should not be case sensitive (for example, a user may enter sTRolleR or STROLLER);

store items in all lower/upper case to expedite the search

write one search function that can search by ID and name and goes through the array of structs/objects only once

allow partial search; must return all matching items (for example, a user can enter "roll" to search for a "stroller"; return "rolls", "stroller"); see C++ find() function

show the entire record if found or an appropriate message if not

by a price range

user should be able to enter the target price and the range; for example
target price: 5000
range %: 20

20% of 5000 is 1000, display all valid car records with a price at least $4000 (5000-1000) and no more than $6000 (5000+20%)

Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Database connectivity
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage