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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education