Consider a used-car yard called Second Car Sales that needs to store details of the vehicles they have in stock. For each vehicle, we need to store the following details;
Registration number, Make, Distance traveled in miles,Buying price and Selling price($) and Name of previous owner.
(1) You are required to write a C++ program that uses a class named UsedCar and inputs details for all the 30 vehicles in the yard. The program then outputs the details of all vehicles with selling prices between $2000 and $4000.
(2) Define a class Used car and include appropriate set and get methods and constructors.