Page 1 of 1

Question 5: Implementation [18 marks] Write the code to implement the following: Using the structure vehicle_t and the f

Posted: Fri Jun 10, 2022 11:58 am
by correctanswer
Question 5 Implementation 18 Marks Write The Code To Implement The Following Using The Structure Vehicle T And The F 1
Question 5 Implementation 18 Marks Write The Code To Implement The Following Using The Structure Vehicle T And The F 1 (40.58 KiB) Viewed 77 times
Question 5: Implementation [18 marks] Write the code to implement the following: Using the structure vehicle_t and the function you wrote in Question 4, write a program to: ● Read in a list of vehicles from a file, vehicle.txt, and write them into an array of vehicle_t. Allow the user to: O Add a new vehicle to the list. The list can only ever have 50 vehicles. search a vehicle in the list. O Print the list of vehicles. O Quit the program. The program must save the vehicle list to the file (e.g., vehicle.txt) on exit. No input validation is required. ●