Make sure and use three separate files for your object orientedprograms (two .cpp files and one .h file) plus UML diagrams. Do notuse inline functions. NO GLOBAL VARIABLES – (global constants arefine)
The Tiny Rental car company rents cars by the day.
Create a class called Rental that has the followingattributes:
?
MakeModel
?
Number days rented
?
Rental rate
The class should have the following overloaded constructors:
?
A constructor that takes the Rental’s make and model (onestring) and rental rate and sets
number of days to 0
?
A default constructor that sets the model to blank and the othervalues to zero
Write Get and Set methods for each attribute: model, number ofdays,
PayPal Gateway not configured
PayPal Gateway not configured