Use the correct Syntax 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.

CMPTR
3rd Edition
ISBN:9781337681872
Author:PINARD
Publisher:PINARD
Chapter18: Maintaining And Querying A Database
Section: Chapter Questions
Problem 12QY
icon
Related questions
Question

Use the correct Syntax

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.

 

 

 

Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage