Question: Write a C++ program that searches for plate numbers from a database (you can use struct or a csv file), then display the Plate Number,
Write a C++ program that searches for plate numbers from a database (you can use "struct" or a "csv" file), then display the Plate Number, Owner, and Model of the car.
Use LINEAR SEARCH and BINARY SEARCH. The program should ask the user what search algorithm to use.
The database must at least have the following info: plate number, owner, and model. (Make 10 sets of plate numbers)
If plate number is not found display "Plate number does not exist."
Plate Number Format: LLLNNN (L - letter, N - Number) Examples: AAA000, ABC123, ZZZ999
Show the source codes and flowchart.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
