URGENT In python You just started your summer internship with old jalopy auto Rentals based in Lenior. North Carolina. You will be working in a large development team in the process of building the firm's first online reservation system. your first assignment is to build the components that will check the age of the customer and then assign them a car. you will be building the business logic classes, so you do not have to worry about the forms of communicating with the user or data access classes to communicate with the database. To test your classes, you will use them in a test application. The requirements for your classes and the testing application are as follows: -You will design and build 2 components of the online reservation system(ORS). There will be one class to represent customers and another to represent vehicles. -Each class should have at least 2 members and 2 methods -The ORS will need to be able to check to make sure the customer in question is at least 25 years old. If they are, the reservation process can continue. Otherwise, the user should be notified that they are not allowed to rent a vehicle. -If the customer is at least 25 your components should make it possible to assign a vehicle to the customer. -The following pieces of information about each business object are important to track: Customers: Customer Id, Name, Date of Birth, Phone, Current vehicle assigned Vehicles: VIN, Make, Model, Year -For purposes of testing, you will write a small application. Gather any information you need about the customer via console input. Any information you need about the vehicle can be hard-coded using the constructor(_init_) or set methods of the Vehicle class. The application should do the following - utilizing instances of your classes: -Ask the user for any needed information -Determine if the user is old enough to rent. - If so, assign the user a vehicle (Think Composition). -Output a vehicle confirmation to the screen the following: Customer Id and Name Vehicle's VIN, Make, and Model if assigned.
OOPs
In today's technology-driven world, computer programming skills are in high demand. The object-oriented programming (OOP) approach is very much useful while designing and maintaining software programs. Object-oriented programming (OOP) is a basic programming paradigm that almost every developer has used at some stage in their career.
Constructor
The easiest way to think of a constructor in object-oriented programming (OOP) languages is:
URGENT
In python
You just started your summer internship with old jalopy auto Rentals based in Lenior. North Carolina. You will be working in a large development team in the process of building the firm's first online reservation system. your first assignment is to build the components that will check the age of the customer and then assign them a car. you will be building the business logic classes, so you do not have to worry about the forms of communicating with the user or data access classes to communicate with the
-You will design and build 2 components of the online reservation system(ORS). There will be one class to represent customers and another to represent vehicles.
-Each class should have at least 2 members and 2 methods
-The ORS will need to be able to check to make sure the customer in question is at least 25 years old. If they are, the reservation process can continue. Otherwise, the user should be notified that they are not allowed to rent a vehicle.
-If the customer is at least 25 your components should make it possible to assign a vehicle to the customer.
-The following pieces of information about each business object are important to track:
Customers: Customer Id, Name, Date of Birth, Phone, Current vehicle assigned
Vehicles: VIN, Make, Model, Year
-For purposes of testing, you will write a small application.
Gather any information you need about the customer via console input.
Any information you need about the vehicle can be hard-coded using the constructor(_init_) or set methods of the Vehicle class.
The application should do the following - utilizing instances of your classes:
-Ask the user for any needed information
-Determine if the user is old enough to rent. - If so, assign the user a vehicle (Think Composition).
-Output a vehicle confirmation to the screen the following:
Customer Id and Name
Vehicle's VIN, Make, and Model if assigned.
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 4 images