Question: Diagrams only, no code needed! Overview This program will model a general car dealership, which consists of multiple entities. There are three classes that you


Diagrams only, no code needed!
Overview This program will model a general car dealership, which consists of multiple entities. There are three classes that you will be working with for this assignment. (3 class diagrams) Vehicles Showroom Dealership Structure The required data members for the classes are as follows: Vehicle A string to store the make of the vehicle (Ford, Chevy, etc.) A string to store the model of the vehicle (Mustang, F-150, Explorer, etc.) An integer to store the year it was manufactured A float to store the price An integer for the number of miles on the car. Showroom A string for the name of the Showroom A list of vehicles that stores objects of type An integer for the maximum capacity of the Showroom Dealership A string for the name of the Dealership A list of Showrooms that stores objects of type An integer for the maximum capacity of the Dealership The required member methods for the classes are as follows: Vehicle . . Constructor: Vehicle(string make, string model, int year, float price, int mileage) A function to print out the details of a vehicle: Display() A function to return the year, make, and model as a string: GetYearMakeModel() A function to return the price: GetPrice() . . Showroom . Constructor: Showroom(string name = Showroom Name, int capacity = 0) A function to return a list of all vehicles in a showroom: GetVehicleList() A function to add a vehicle to the showroom: AddVehicle (Vehicle v) A function to show all the vehicles in the show room, using the Display function of each vehicle: ShowInventory() Dealership . . . Constructor: Dealership(string name = "Dealership Name", int capacity = 0) A function to add a showroom to the dealership: AddShowroom (Showroom s) A function to get the average price of all vehicles at the dealership: GetAveragePrice() A function to show all showrooms stored in this dealership, one at a time, and displaying the average price of each vehicle stored in the dealership: ShowInventory() Diagram Tasks Use-Case Diagram Create a diagram that models the interactions required to Add a Showroom (AddShowroom(Showroom s)) to an existing Dealership. Comprehensive Class Diagrams Create a class diagram that lists all data members and member methods for each of the classes described pove. These diagrams should also show relationship ween the three ses. Sequence Diagram Visualize the steps and calls required for ShowInventory() on a Dealership instance. This should include all nested calls and objects. Overview This program will model a general car dealership, which consists of multiple entities. There are three classes that you will be working with for this assignment. (3 class diagrams) Vehicles Showroom Dealership Structure The required data members for the classes are as follows: Vehicle A string to store the make of the vehicle (Ford, Chevy, etc.) A string to store the model of the vehicle (Mustang, F-150, Explorer, etc.) An integer to store the year it was manufactured A float to store the price An integer for the number of miles on the car. Showroom A string for the name of the Showroom A list of vehicles that stores objects of type An integer for the maximum capacity of the Showroom Dealership A string for the name of the Dealership A list of Showrooms that stores objects of type An integer for the maximum capacity of the Dealership The required member methods for the classes are as follows: Vehicle . . Constructor: Vehicle(string make, string model, int year, float price, int mileage) A function to print out the details of a vehicle: Display() A function to return the year, make, and model as a string: GetYearMakeModel() A function to return the price: GetPrice() . . Showroom . Constructor: Showroom(string name = Showroom Name, int capacity = 0) A function to return a list of all vehicles in a showroom: GetVehicleList() A function to add a vehicle to the showroom: AddVehicle (Vehicle v) A function to show all the vehicles in the show room, using the Display function of each vehicle: ShowInventory() Dealership . . . Constructor: Dealership(string name = "Dealership Name", int capacity = 0) A function to add a showroom to the dealership: AddShowroom (Showroom s) A function to get the average price of all vehicles at the dealership: GetAveragePrice() A function to show all showrooms stored in this dealership, one at a time, and displaying the average price of each vehicle stored in the dealership: ShowInventory() Diagram Tasks Use-Case Diagram Create a diagram that models the interactions required to Add a Showroom (AddShowroom(Showroom s)) to an existing Dealership. Comprehensive Class Diagrams Create a class diagram that lists all data members and member methods for each of the classes described pove. These diagrams should also show relationship ween the three ses. Sequence Diagram Visualize the steps and calls required for ShowInventory() on a Dealership instance. This should include all nested calls and objects