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
-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.
Step by stepSolved in 4 steps with 3 images
- 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…arrow_forwardStrathSoft, a software development company, was approached by EatWell chain of restaurants to commission a tailor-made software to automate their restaurant sales. The sales manager of EatWell chain of restaurants described their current manual process of salesas follows: “We sell many food items, each item is identified by an identification code and each food item has a name and price. We use a variety of ingredients in our food items. Each ingredient hasa unique ID, name, production date and expiry date. One ingredient can be used in many food items. We have many customers. Customers have a name, a unique ID, address and contact. When customers place orders, they buy one or many food Items. Each order has a unique ID,order date and total” 1. As a system designer for StrathSoft, design a class diagram for the above descriptionof the part of the prospective system. 2. Develop the part of the system that will allow you to create items made of a list ofingredients. Use a driver class to…arrow_forwardLanguage is C++ Lab14A: The Architect. Buildings can be built in many ways. Usually, the architect of the building draws up maps and schematics of a building specifying the building’s characteristics such as how tall it is, how many stories it has etc. Then the actual building itself is built based on the schematics (also known as blueprints). Now it is safe to assume that the actual building is based off the blueprint but is not the blueprint itself and vice versa. The idea of a classes and objects follows a similar ideology. The class file can be considered the blueprint and the object is the building following the analogy mentioned above. The class file contains the details of the object i.e., the object’s attributes (variables) and behavior (methods). Please keep in mind that a class is a template of an eventual object. Although the class has variables, these variables lack an assigned value since each object will have a unique value for that variable. Think of a form that you…arrow_forward
- You're developing a Python program for "AdventureGear Outfitters," an online adventure gear store. The store offers three flagship products: Expedition Backpack, All-Terrain Hiking Boots, and Adventure-Ready Tent. Could you outline the logic and structure of a program that provides information about these products, including features, prices, and specifications? Requirements: Display details for each product, such as key features, pricing, and dimensions. Implement a shopping cart functionality that allows users to add products, specify quantities, and calculate the total cost. Incorporate a discount system where users get a 15% discount on the total cost if they purchase all three flagship products together. Include an optional section for users to select additional accessories like sleeping bags or portable stoves. Output a summary of the user's selected products, quantities, total cost, selected accessories, and any special requests after they interact with the shopping cart.arrow_forwardi am trying to write code for c#. the gui is set up. i have 3 list boxes each with 3 items and each item has a different price. customer should select one from each list box and then be presented with a total price. i'm struggling to know what is the first thing i do. i have the using information, namespace......do i begin after Initialize Component?arrow_forwardWriting C++ Code for a Hybrid Market Prize System. A New hybrid market is launching in Muscat and you are asked to create a prize system for the blind customers based on the amount of his invoice. The scenario of giving the prize is as follow: • The market owner should enter the Secret amount (SM), Above Percentage (AP). Lower Percentage (LP) and Prize at the start of executing the system. • The cashier should enter the following information for five customers in a 2D-Array 5 X 3: The Invoice Number, the Invoice Amount, and Customer Name • The system needs to print the number and the amount of each invoice with the customer name. In addition to the prize amount, such that: o it the Invoice Amount is equal to (SM) the record of the customer should be printed with 100% of the Prize. o If the Invoice Amount is Larger than (SM) by (AP) the record of the customer should be printed with 50% of the Prize. o If the Invoice Amount is larger than (SM) by (LP) the record of the customer should be…arrow_forward
- Your kitchen has a stove, a sink, a cupboard containing pots and pans and a refrigerator with a dozen eggs in it. To cook a soft-boiled egg, you have to immerse it in boiling water for 3 minutes. Draw a flow chart showing the steps you have to follow to cook three soft-boiled eggs.arrow_forwardYou're the lead developer for "AdventureGear Emporium," an online outdoor equipment store. The store showcases three flagship products: Summit Explorer Backpack, TrailBlazer Camping Tent, and Alpine Trekking Boots. Develop the logic and structure of a Python program that provides detailed information about these products, including features like capacity for the backpack, capacity for the tent, boot sizes, prices, and any special functionalities. Requirements: Display comprehensive details for each product, such as backpack capacity, tent capacity, available boot sizes, pricing, and any unique features relevant to outdoor enthusiasts. Implement a shopping cart functionality enabling users to add products, specify sizes (if applicable), and automatically calculate the total cost. Integrate a discount system where users receive a 8% discount on the total cost if they purchase both the SummitExplorer Backpack and the Alpine Trekking Boots together. Incorporate an optional section for…arrow_forwardWrite a code in Java programming You are working in a game company that is developing a new RPG game. One of the core features of the game is the ability to create and manage different types of characters, such as warriors, mages, and archers. However, your colleague, who was previously working on the implementation of the CharacterManager class, has been laid off due to excessive absences. You have been assigned to take over the project and complete the implementation of the class based on the design specifications outlined below: Given the following main method: public static void main(String[] args) { CharacterManager manager = CharacterManager.getInstance(); manager.createCharacter(CharacterType.WARRIOR).attack(); manager.createCharacter(CharacterType.MAGE).attack(); manager.createCharacter(CharacterType.ARCHER).attack(); } Your output should be: Warrior is attacking Mage is attacking Archer is attacking Note that you should not change the method signature.arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education