You are on page 1of 20

A

Micro Project
On
“ CAR INSURANCE SYSTEM”
Submitted in partial fulfillment of the requirement for the
award of
Diploma of Engineering
In
Computer Engineering
By

6.Niraj Patil
7.Advait Patil
8.Rudra Pandya
9.Shravan Satpute
10.Jaineel Panchal

under the guidance of

POONAM JADHAV

Department of Computer
Engineering November 2022
CERTIFICATE

VIVA COLLEGE OF DIPLOMA ENGINEERING & TECHNOLOGY


VIRAR (W)
2022-23
This is to certify that the micro project entitled “CAR INSURANCE SYSTEM”
has been submitted by Poonam Jadhav under the guidance of Poonam Jadhav in
partial fulfillment of the requirement for the award of Diploma of Engineering
in Computer Engineering from Maharashtra State Board of Technical
Education.

CAR INSURANCE “
’’SYSTEM

GROUP MEMBERS
Roll No 6:-Niraj Patil
Roll No 7:-Advait Patil
Roll No 8:-Rudra Pandya
Roll No 9:-Shravan Satpute
Roll No 10:-Jaineel Panchal

Project Guide H.O.D


Prof. POONAM JADHAV Prof. NIKHIL ASOLKAR
INDEX

Sr. No. Name of the topic Page no.

PART –A PLAN

1 Brief Introduction 1

2 Aim of the Micro-Project 1

3 Action Plan 2

4 Resources Required 3

PART –B OUTCOMES

1 Brief Description 4

2 Aim of Micro-Project 5

3 Course Outcomes Integrated 5

4 Actual Procedure Followed 6 to 21

5 Actual Resources Used 22

6 Outputs of the Micro-Projects 23-26

7 Skill Developed/ learning out of this Micro-Project 27


The Running Truck CGR22318, Sem III

PART-A PLAN
1.0 Brief Introduction

What is Car Insurance System?

Car insurance is use for primary use is to provide financial protection against physical
damage or bodily injury resulting from traffic collisions and against liability that could
also arise from incidents in a vehicle. Vehicle insurance may additionally offer
financial protection against theft of the vehicle, and against damage to the vehicle
sustained from events other than traffic collisions, such as keying, weather or natural
disasters, and damage sustained by colliding with stationary objects. The specific terms
of vehicle insurance vary with legal regulations in each region.

2.0 AIM of Micro-Project

Aim of this project is


• To write a C program that add details of citizen who are taken the insurance
• To learn the concepts of files.

1
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

3.0 Action Plan

Sr. Details of Activity Planned Planned Name of Responsible


No Start Finish Team Members
Date Date
1 Project selection

2 Identifying project
outcomes

3 Identifying resources
required

4 Algorithm &
implementation

5 Final outcome

6 Documentation

7 Seminar and viva-vose

8 Final submission of Micro


project

2
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

4.0 Resources Required

Sr. No Name of Specification Qty Remarks


Resource

1 Computer 512GB SSD, 1


8 Gb RAM,
AMD processor,
Windows 11 OS
2 Turbo C - 1

3
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

PART-B OUTCOME

1.0 Brief Description

The main objective of the C++ Project on Vehicle Insurance is to manage the
details of Registrations, Customers, Insurance Period, Payments, Vehicle. It manages
all the information about Registrations, Insurance, Vehicle, Registrations. The project
is totally built at administrative end and thus only the adminis- tarot is guaranteed the
access. The purpose of the project is to build an application program to reduce the
manual work for managing the Registrations, Customers, Insurance, Insurance Period.
It tracks all the details about the Insurance Period, Payments, Vehicle.
Features of Car Insurance System Project in C++
• Only Admin is able to login into the software.
• Admin has to enter the username, password and the captcha before accessing the
data.
• The Project use the concept of file handling to store the car insurance data.
• Admin is able to create a new record .
• All the insurance status can be viewed at a time.
• There is a separate feature of search where admin can search a particular person
insurance very quickly.
• The entire rights are given to the admin for adding, deleting and modifying the data.

Modules of Car Insurance System


• Add New Car Insurance Record
• View insurance Data
• Search insurance
• View All Data

4
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

2.0 AIM of Micro-Project

The main purpose of this car insurance system is:


a) To add records of insurance car
b) To view data of insurance car
c) To Learn and implement concepts of files.

3.0 Course Outcomes (CO)

b) Develop c++ programs using classes and objects.


c) Develop c++ programs to perform file operations.

5
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

4.0 Procedure Followed

Main Screen
The software will ask you to press any key from the keyboard to move further, so press
any key from the
keyboard. After pressing any key from the keyboard, you will jump to the next login
page.
Login Page
After successfully pressing any key from the keyboard the following login page will
appear.On the Login
page, you have to enter the login credentials before accessing the data. The admin has
to first enter the
username as “admin” then password as “15to20” and then enter the captcha i.e
numbers displayed on the
screen. If the username, password, and captcha match then only you will be
successfully logged in to the
dashboard.
Dashboard
After the successful login of Admin, the following dashboard screen will appear.
We’ve displayed the
menu of Add new record, Display vaccine data, Search person, View all data. If you
want to add a
vaccination record the simply press 1, Similarly 2 for View Vaccine data, 3 for
searching a record, and if
the admin wants to see all vaccination data, then simply press 4.Now we’ll see each
and every menu item
in detail.
Add New Record
In this section, the admin can add a number of records of persons.While adding a new
record the software
will ask for the following information of person:
• Name of the person.
• Citizenship No / Aadhar No
• Person’s Gender
• Age, Profession
6
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

• Blood Pressure, Body Temperature


• Your Address
• Mobile Number
• Name of the Vaccine you’ve Taken.
After entering the above information, the new record will be successfully added to the
database. This
project is using the concept of file handling so the data will be stored in a separate file
called
“vaccinetrail“.
View Vaccine Data
After pressing 2 in the dashboard, you’ll be jumping to the following screen.
In this section, you’ll be adding or viewing the no of vaccine doses that are remained.
If you want to add
new vaccine doses then press 1 and enter the no of vaccine doses you want to add and
then press enter.
Now the doses are successfully added.
And if you want to see the no of available vaccine doses then press 2. after pressing the
2 you’ll be able to
see the no of available vaccine doses. If you want to go back then press 3.
Search
In this section, the admin can be able to search for a specific person according to
Citizenship No, Age,
Profession, Gender, and Vaccine.
Suppose the admin wants to search persons who have taken covaxin dose then choose
Search by Vaccine.
After entering the covaxin name then the list of people who have taken the covaxin
dose will appear.
View All Data
This is the last section of the Vaccine Management System Project in C++. In this
section, the admin will
be able to see all the data of records that were added by the admin.
All the data will appear in this section. The data shown in this tab is read from the file
“vaccinetrail“.
Exit
By choosing the 5th option vaccine management system project in c++ will be closed

7
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

Program Code:

Car Insurance System project by using c++ programming language

#include <iostream.h>
#include <cstdlib.h>
using namespace std;

double getBase (double carValue, double& premium);


double accidentAdjust (double accidents, double& premium);
double getRiskSurcharge (double& premium, char riskSurcharge);

int main()
{
double carValue, premium=0;
double accidents;
char riskSurcharge;

cout << "National Farm Insurance Company" << endl;


cout << "Automotive Policy Six-Month premium Calculator" << endl <<
endl;

cout << "Enter the value of the car to be insured: $";


cin >> carValue;
if (carValue<0)
{
8
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

cout<<"You have entered an invalid number. The program will


now terminate."<<endl;
exit(1);
}

else getBase(carValue, premium);

cout << "How many accidents has the policyholder caused in the last
three years? ";
cin >> accidents;
if (accidents<0)
{
cout<<"You have entered an invalid number. The program will
now terminate."<<endl;
exit(1);
}

else accidentAdjust(accidents, premium);

cout << "Enter the geographical risk factor (Class a - e): ";
cin >> riskSurcharge;

getRiskSurcharge(premium, riskSurcharge);

cout.setf(ios::fixed);
cout.setf(ios::showpoint);
cout.precision(2);

cout << "The premium for this policyholder will be $" << premium <<
endl << endl;

cout << "Call the neighbor that's on your side. Call National Farm." <<
endl;
9
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

return 0;
}

double getBase(double carValue, double& premium)


{
premium = carValue / 20;
return premium;
}

double accidentAdjust(double accidents, double& premium)


{
if (accidents<2)
premium=premium;
if (accidents>1 && accidents<=3)
premium=premium*(accidents*.01)+premium;
if (accidents>3 && accidents<=6)
premium=premium*(accidents*.03)+premium;
if (accidents>6)
{
cout<<"We will not be able to insure your vehicle."<<endl;
exit(1);
}
}

double getRiskSurcharge(double& premium, char riskSurcharge)


{
switch (riskSurcharge)
{
case 'A':
case 'a':
premium=premium+20;
break;
10
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

case 'B':
case 'b':
premium=premium+30;
break;
case 'C':
case 'c':
premium=premium+50;
break;
case 'D':
case 'd':
premium=premium+100;
break;
case 'E':
case 'e':
premium=premium+250;
break;
default:
cout<<"You have entered an invalid number. The program will
now terminate."<<endl;
exit(1);
}

return premium;
}

5.0 Resources Used

Sr. No Name of Specification Qty Remarks


Resource

11
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

1 Computer 512GB SSD, 1


8 Gb RAM,
AMD processor,
Windows 11 OS
2 Turbo C - 1

12
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

6.0 Outputs of Micro-Projects

Output:

13
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

14
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

15
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

16
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.
The Running Truck CGR22318, Sem III

7.0 Skill Developed

Thus, We have studied how to create Car insurance systems by using C++.

17
VIVA COLLEGE OF DIPLOMA ENGG & TECH, COMPUTER ENGG.

You might also like