Question: Exercise 4: Write a driver function called searchVehicleInventory that takes a VehicleType array object and its size as parameters. The function should prompt the user

Exercise 4: Write a driver function called searchVehicleInventory that takes a VehicleType array object and its size as parameters. The function should prompt the user for the year of the vehicle they are searching for and prints all the vehicles with the same year. If there is no vehicle made in the year in question, display the message "No vehicle produced in found." Allow the user to keep entering different years until -1 is seen.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!