Question: Please help me with my java exercise Develop a single Java program that follows coding conventions and enables the users to: store, search and sort
Please help me with my java exercise
Develop a single Java program that follows coding conventions and enables the users to: store, search and sort cars.

1. Take user input cars data, i.e. manufacturer, model, year, mileage, grade/condition of car (see Table 2), and price and store it in an appropriate data structure. Sample data is provided in Table 1.
2. Sort all cars data by model (in alphabetical order)
3. sort all cars data by price (from low to high)
4. Search and identify the car with the lowest mileage
5. Search and identify the car with the lowest price
6. Search car by ID (take car ID from user).Your report should show car condition instead of grade.
7. Generate the sample report to calculate the volume of car stock based on each manufacturer, total number of vehicles
\begin{tabular}{|c|l|l|c|c|c|c|l|} \hline CarID & Manufacturer & Model & Year & Mileage & Enginesize & Grade & \multicolumn{1}{|c|}{ Price } \\ \hline 1 & Honda & Fit & 2013 & 200,500 & 1.3L & A & 5,550.50 \\ \hline 2 & Toyota & Prius & 2012 & 88,000 & 1.8L & A & 8,450.00 \\ \hline 3 & Volkswagen & Golf & 2016 & 74,550 & 1.5L & B & 12,500.00 \\ \hline 4 & Toyota & Yaris & 2011 & 110,100 & 1.0L & A & 6,500.50 \\ \hline 5 & Toyota & Prius & 2015 & 52,300 & 1.8L & C & 9,999.95 \\ \hline 6 & Volkswagen & Polo & 2012 & 140,820 & 1.2L & B & 3,050.50 \\ \hline \end{tabular} Table 2: Car grades \begin{tabular}{|c|c|l|l|} \hline ID & Grade & Condition & Description \\ \hline 1 & A & Excellent & Very slightly used, virtually as good as new. \\ \hline 2 & B & Good & Good condition but with visible flaws. \\ \hline 3 & C & Average & Average condition, with minor damage. \\ \hline 4 & D & Poor & Poorconditionwithsignificantdamage,butthecarisfunctional. \\ \hline \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
