Computer Science, asked by mohsin095, 7 months ago

Write a program in C++ to create a class named Vehicle with two data member named mileage and price. Create its two subclasses  Car with data members to store ownership cost, warranty (by years), seating capacity and fuel type (diesel or petrol).  Bike with data members to store the number of cylinders, number of gears, cooling type(air, liquid or oil), wheel type(alloys or spokes) and fuel tank size(in inches)  Make another two subclasses Audi and Ford of Car, each having a data member to store the model type.

Answers

Answered by kumarigouri0986
4

Answer:

eysugdidrteyeyrur

Explanation:

yeeuur

Similar questions