Write program that help this new company manage its business

Assignment Help Computer Engineering
Reference no: EM133337589

Console / GUI-based Car Rental project

GUI project

TG Enterprises is a new rental car company; they have a limited number of cars to be rented. When a customer rents a car, he needs to buy insurance. There are two types of insurance: liability insurance and comprehensive insurance. Also, he should pay a 5% tax on the rental cost (no tax on the insurance). The following table shows the cars that the company owns, the daily cost of rent, and the daily insurance.

1798_Car Rental project.jpg

You are required to write a program that helps this new company manage its business. The system will be used by an employee in the company. Your program should have the main menu as follows:
Console:

781_Car Rental project10.jpg

GUI:

1983_Car Rental project1.jpg

Option 1 (Car Rental):

When a user enters 1, the following menu is displayed:

1377_Car Rental project2.jpg

GUI:

2005_Car Rental project3.jpg

Then the user needs to select the car to be rented by selecting a number from 1 to

3. When the user, for example, selects 1, the system should ask the user how many days the car will be rented, the insurance type, then display the cost details as follows:

1577_Car Rental project11.jpg

GUI:

556_Car Rental project4.jpg

When calculating the cost, please note that tax includes only the cost of rent, not the insurance cost. After that, the system displays the message "More operations? [Y/N]". If the user enters "Y", the system will display the main menu again. If the user enters 'N', the system stops.

Please note that the number of available cars is updated based on the previous operation. Therefore, if the user selects a car model that has no available cars (zero), the system should display "This type of cars is not available now."

1845_Car Rental project5.jpg

Option 2 (Car Return)
When the user enters 2 in the main menu, the system will ask the user to enter the type of car that is returned. This will update the number of available cars.

779_Car Rental project6.jpg

GUI:

1321_Car Rental project7.jpg

Option 3 (Print the totals): If the user enters 3 in the main menu, the system will display the totals of all previous operations.

445_Car Rental project8.jpg

GUI:

2339_Car Rental project9.jpg

Input validations:
1- In the main menu, only 1, 2, and 3 are accepted. If the user enters anything else, the system keeps asking the user to enter a valid option:

2- When the car type to be rented is input, only 1, 2, and 3 are accepted.
3- When insurance type is input, only the letters "L", "I", "F", and "f" are accepted.
4- When the car type to be returned is input, only 1, 2, and 3 are accepted.
5- When answering the question "More operations?", only 'y', 'Y', 'N', and 'n' are accepted.

Attachment:- Car Rental project.rar

Reference no: EM133337589

Questions Cloud

What is safeguard value and realized savings : A hardware lock is a metal cable that can attach a laptop computer to furniture. What is the safeguard value? What is the realized savings?
Self-managed teams for organizations and employees : Write a 3300 words paper explaining the Advantages and Disadvantages of Self-Managed Teams for Organizations and Employees
Conduct a swot analysis of your care setting : Conduct a SWOT analysis of your care setting, with respect to quality and safety goals. Provide a narrative description of your analysis
Several skills are required to be successful web developer : Several skills are required to be a successful web developer. Identify and discuss, with examples, at least four hard and four soft skills to succeed.
Write program that help this new company manage its business : COMP 102 write a program that helps this new company manage its business. The system will be used by an employee in the company
Good defense and attack strategy : Define what constitutes a secure posture and how it helps in understanding the importance of having a good defense and attack strategy.
Information technology solutions plan : Submitting your Information Technology Solutions Plan, to include Implementation Process: Plan, Implementation Process:
Implications for physical borders in virtual domain : What are the implications for physical borders in a virtual domain? How do the borders of cyberspace influence the physical network layer of cyberspace?
Implications for physical borders in virtual domain : Are there borders in cyberspace? What are the implications for physical borders in a virtual domain?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd