Title - Car Rental System in C++
Submitted in partial fulfillment of the requirements for the degree of
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE & ENGINEERING
Submitted to: Submitted By: Ritick
Er. Harpreet Kaur Student Sec/Group: 14-A
NAME – RITICK UID – 19BCS2981
Mentor Signature:
(Name & E-code):
Tanu Dhiman E8141
AP CSE
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Chandigarh University, Gharuan
June 2021
Introduction
Car Rental System is based on a concept to rent cars and generate rental invoice of a rental
company. Before stepping into the main system a user has to pass through a login system to get
access, then only the user can select cars with a different model and rent for certain days. This mini
project contains limited features, but the essential one.
Talking about the features of the Car Rental System, after logging in as a user he/she has to provide
a name then the user can select available cars. After selecting a car, the system displays selected
car details which contain maximum power, mileage and many more. Then the user has to provide
the information such as Car number and number of days to rent the car. After all these procedures,
the system calculates rent and displays Customer Invoice presenting invoice number, customer’s
name, car model, number, number of days and total rental amount.
Car Rental system is developed using C++ Programming Language and different variables, strings
have been used for the development of it. This mini project provides the simplest system for car
rentals of a rental company.
Features:
1. Login System
2. Car Selection
3. Customer Invoice
Feasibility study
Problem Statement
A car rental is a vehicle that can be used temporarily for a fee during a specified period.
Getting a rental car helps people get around despite the fact they do not have access to
their own personal vehicle or don't own a vehicle at all. The individual who needs a car
must contact a rental car company and contract out for a vehicle. This system increases
customer retention and simplify vehicle and staff management.
Aims & Objectives
 To produce a web-based system that allow customer to register and reserve car online
and for the company to effectively manage their car rental business.
 To ease customer’s task whenever they need to rent a car.
Scope
This project traverses a lot of areas ranging from business concept to computing field,
and required to perform several researches to be able to achieve the project objectives.
The area covers include:
 Car rental industry: This includes study on how the car rental business is being done,
process involved and opportunity that exist for improvement.
 C++ used for the development of the application.
 General customers as well as the company’s staff will be able to use the system
effectively.
 Web-platform means that the system will be available for access 24/7 except when
there is a temporary server issue which is expected to be minimal.
Methodology/ Planning of work
a. Customer’s registration: The system should allow new users to register online and
generate membership card.
b. Online reservation of cars: Customers should be able to use the system to make
booking and online reservation.
c. Automatic update to database once reservation is made or new customer registered:
Whenever there’s new reservation or new registration, the system should be able
update the database without any additional efforts from the admin.
d. Feedbacks to customers: It should provide means for customers to leave feedback.
3.2Non-Functional Requirements
It describes aspects of the system that are concerned with how the system provides the
functional requirements. They are:
a. Security: The subsystem should provide a high level of security and integrity of the
data held by the system, only authorized personnel of the company can gain access to
the company’s secured page on the system; and only users with valid password and
username can login to view user’s page.
b. Performance and Response time: The system should have high performance rate
when executing user’s input and should be able to provide feedback or response
within a short time span usually 50 seconds for highly complicated task and 20 to 25
seconds for less complicated task.
c. Error handling: Error should be considerably minimized and an appropriate error
message that guides the user to recover from an error should be provided. Validation
of user’s input is highly essential. Also the standard time taken to recover from an
error should be 15 to 20 seconds.
d. Availability: This system should always be available for access at 24 hours, 7 days a
week. Also in the occurrence of any major system malfunctioning, the system should
be available in 1 to 2 working days, so that the business process is not severely
affected.
e. Ease of use: Considered the level of knowledge possessed by the users of this system,
a simple but quality user interface should be developed to make it easy to understand
and required less training.
Module & Team Member Wise Distribution of work
a. the project will be done by me only
1. concept of class and object-
C++ is an object-oriented programming language.
Everything in C++ is associated with classes and objects, along with its attributes and methods.
For example: in real life, a car is an object. The car has attributes, such as weight and color,
and methods, such as drive and brake.
Attributes and methods are basically variables and functions that belongs to the class. These are
often referred to as "class members".
A class is a user-defined data type that we can use in our program, and it works as an object
constructor, or a "blueprint" for creating objects.
2. class inheritance-concept is of class inherits its feature to another one
3. if else statements-C++.
4. File Handling is the storing of data in a file using a program. In C programming language, the
program store results, and other data of the program to a file using file handling in C. Also, we
can extract/fetch data from a file to work with it in the program.
5. while statements-C++.
6. setwidth to set width.
Additional concepts
7. sleep function-C++.
8. system CLS function .
Innovations in Project
 Can switch to admin panel in system.
 Now user can register before get into system.
 Registered user can be given by an id which is further will be used to login in system.
 New “welcome” greetings and exit “thank you” as designed which is not used previous
developed one.
 Used object oriented programming concepts this time due to security reasons in system
access.
 Used file handling to handle the errors to catch.
 Assigned .txt files for data consideration of registered customer.
Software and Hardware Requirements
A system included code editor or code blocks/VS code to write the code for compilation and make
runnable
Familiar with concepts of C++ like as follows:
1. concept of class and object.
2. class inheritance.
3. if else statements.
4. file handling.
5. while statements.
6. setwidth.
Bibliography
Used:
Software Engineering – R.S. Pressman
 http://www.flashvortex.com/
 http://www.imscart.com/car_rental_software.html
 Wikipedia.org
 www.w3schools.com
Car Rental in C++

Car Rental in C++

  • 1.
    Title - CarRental System in C++ Submitted in partial fulfillment of the requirements for the degree of BACHELOR OF ENGINEERING IN COMPUTER SCIENCE & ENGINEERING Submitted to: Submitted By: Ritick Er. Harpreet Kaur Student Sec/Group: 14-A NAME – RITICK UID – 19BCS2981 Mentor Signature: (Name & E-code): Tanu Dhiman E8141 AP CSE DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Chandigarh University, Gharuan June 2021
  • 2.
    Introduction Car Rental Systemis based on a concept to rent cars and generate rental invoice of a rental company. Before stepping into the main system a user has to pass through a login system to get access, then only the user can select cars with a different model and rent for certain days. This mini project contains limited features, but the essential one. Talking about the features of the Car Rental System, after logging in as a user he/she has to provide a name then the user can select available cars. After selecting a car, the system displays selected car details which contain maximum power, mileage and many more. Then the user has to provide the information such as Car number and number of days to rent the car. After all these procedures, the system calculates rent and displays Customer Invoice presenting invoice number, customer’s name, car model, number, number of days and total rental amount. Car Rental system is developed using C++ Programming Language and different variables, strings have been used for the development of it. This mini project provides the simplest system for car rentals of a rental company. Features: 1. Login System 2. Car Selection 3. Customer Invoice Feasibility study Problem Statement A car rental is a vehicle that can be used temporarily for a fee during a specified period. Getting a rental car helps people get around despite the fact they do not have access to their own personal vehicle or don't own a vehicle at all. The individual who needs a car must contact a rental car company and contract out for a vehicle. This system increases customer retention and simplify vehicle and staff management.
  • 3.
    Aims & Objectives To produce a web-based system that allow customer to register and reserve car online and for the company to effectively manage their car rental business.  To ease customer’s task whenever they need to rent a car. Scope This project traverses a lot of areas ranging from business concept to computing field, and required to perform several researches to be able to achieve the project objectives. The area covers include:  Car rental industry: This includes study on how the car rental business is being done, process involved and opportunity that exist for improvement.  C++ used for the development of the application.  General customers as well as the company’s staff will be able to use the system effectively.  Web-platform means that the system will be available for access 24/7 except when there is a temporary server issue which is expected to be minimal. Methodology/ Planning of work a. Customer’s registration: The system should allow new users to register online and generate membership card. b. Online reservation of cars: Customers should be able to use the system to make booking and online reservation. c. Automatic update to database once reservation is made or new customer registered: Whenever there’s new reservation or new registration, the system should be able update the database without any additional efforts from the admin. d. Feedbacks to customers: It should provide means for customers to leave feedback. 3.2Non-Functional Requirements It describes aspects of the system that are concerned with how the system provides the functional requirements. They are: a. Security: The subsystem should provide a high level of security and integrity of the
  • 4.
    data held bythe system, only authorized personnel of the company can gain access to the company’s secured page on the system; and only users with valid password and username can login to view user’s page. b. Performance and Response time: The system should have high performance rate when executing user’s input and should be able to provide feedback or response within a short time span usually 50 seconds for highly complicated task and 20 to 25 seconds for less complicated task. c. Error handling: Error should be considerably minimized and an appropriate error message that guides the user to recover from an error should be provided. Validation of user’s input is highly essential. Also the standard time taken to recover from an error should be 15 to 20 seconds. d. Availability: This system should always be available for access at 24 hours, 7 days a week. Also in the occurrence of any major system malfunctioning, the system should be available in 1 to 2 working days, so that the business process is not severely affected. e. Ease of use: Considered the level of knowledge possessed by the users of this system, a simple but quality user interface should be developed to make it easy to understand and required less training. Module & Team Member Wise Distribution of work a. the project will be done by me only 1. concept of class and object- C++ is an object-oriented programming language. Everything in C++ is associated with classes and objects, along with its attributes and methods. For example: in real life, a car is an object. The car has attributes, such as weight and color, and methods, such as drive and brake.
  • 5.
    Attributes and methodsare basically variables and functions that belongs to the class. These are often referred to as "class members". A class is a user-defined data type that we can use in our program, and it works as an object constructor, or a "blueprint" for creating objects. 2. class inheritance-concept is of class inherits its feature to another one 3. if else statements-C++. 4. File Handling is the storing of data in a file using a program. In C programming language, the program store results, and other data of the program to a file using file handling in C. Also, we can extract/fetch data from a file to work with it in the program. 5. while statements-C++. 6. setwidth to set width. Additional concepts 7. sleep function-C++. 8. system CLS function . Innovations in Project  Can switch to admin panel in system.  Now user can register before get into system.  Registered user can be given by an id which is further will be used to login in system.  New “welcome” greetings and exit “thank you” as designed which is not used previous developed one.  Used object oriented programming concepts this time due to security reasons in system access.  Used file handling to handle the errors to catch.  Assigned .txt files for data consideration of registered customer.
  • 6.
    Software and HardwareRequirements A system included code editor or code blocks/VS code to write the code for compilation and make runnable Familiar with concepts of C++ like as follows: 1. concept of class and object. 2. class inheritance. 3. if else statements. 4. file handling. 5. while statements. 6. setwidth. Bibliography Used: Software Engineering – R.S. Pressman  http://www.flashvortex.com/  http://www.imscart.com/car_rental_software.html  Wikipedia.org  www.w3schools.com