SlideShare a Scribd company logo
Computer Science
Project File
IMW Car Comparison Software
PARK GLOBAL SCHOOL, Cbe.
Mr.Pratap Mani Sir Guidelines
cbse 12 computer science IP
Acknowledgement
I am extremely grateful to Ms.Niyatha Teacher
of the Department of Computer Science for her
able guidance and useful suggestions, which
has helped me in completing the project work,
on time.
I would also like to thank all teaching and non-
teaching staff of the Computer Science
department who have helped me directly or
indirectly in the completion of this project.
Finally and most importantly, I would like to my
beloved principal Mr.H.Natrajan and my
friends/classmates for their help and wishes for
the successfulcompletion of this project.
Table of Contents
1. Aim of the project
2. Requirement Analysis
2.1 Current system
2.2 Proposed system
3. Source Code
4. Input and Output Screens
5. Conclusion
6. Future Enhancements
7. Bibliography
1. Aim of the Project
To create a program using C++ titled ‘IMW
car comparison Software’. Our software
provides an easy user interface and which
enables the user to find suitable car under
his or her budget, and to compare many car
companies and even models.
The user should also be able to view the
price of the car in many showroom places,
And suggest the best one for you.
2. Requirement Analysis
A. Hardware Requirements:
i. Standard PC
ii. Monitor
iii. Keyboard and Mouse
B.Software Requirement
i. Windows OS
ii. Turbo C++
2.1Current System
The current system observed was
maintained with database, car price
statements, comparison status. They were
stored by the developer.
2.2Proposed System
The propose system eliminates all the
problem of the current system by allowing
the user to do a variety of task easily and
effectively. This is done by using C++ to
create a user friendly program to select,
view, compare car, and select the best one.
3. Source Code
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$//
#include <iostream.h>
#include <conio.h>
#include <string.h>
#include <fstream.h>
#include <stdlib.h>
#include <stdio.h>
#include<graphics.h>
#include<dos.h>
class cars
{
public:
char carmake[25], carmodel[25];
int engine_cap;
float price,mile;
public:
// void getdata();
void display()
{
cout<<"n Car Make : "<<carmake;
cout<<"n Car Model : "<<carmodel;
cout<<"n Engine Capacity :
"<<engine_cap<<" cc";
cout<<"n Mileage [c+y/Hy]: "<<mile<<"
kmpl";
cout<<"n Price [Showroom] :
"<<price<<" crn";
}
};
void main()
{
cars
cc[15];//audi[3],bmw[3],mer[3],jag[3],pors[3];
int choice, ch1,ch2;
char ch;
char carmake1[20],carmake2[20];
strcpy(cc[0].carmake,"Audi");
strcpy(cc[0].carmodel,"RS7 Sportback");
cc[0].engine_cap=3993;
cc[0].mile=10.2;
cc[0].price=1.49;
strcpy(cc[1].carmake,"Audi");
strcpy(cc[1].carmodel,"R8");
cc[1].engine_cap=5204;
cc[1].mile=6.71;
cc[1].price=2.53;
strcpy(cc[2].carmake,"Audi");
strcpy(cc[2].carmodel,"RS6");
cc[2].engine_cap=3993;
cc[2].mile=10.42;
cc[2].price=1.45;
strcpy(cc[3].carmake,"BMW");
strcpy(cc[3].carmodel,"7 Series");
cc[3].engine_cap=2993;
cc[3].mile=11.1;
cc[3].price=1.14;
strcpy(cc[4].carmake,"BMW");
strcpy(cc[4].carmodel,"X6M");
cc[4].engine_cap=4395;
cc[4].mile=9.0;
cc[4].price=1.69;
strcpy(cc[5].carmake,"BMW");
strcpy(cc[5].carmodel,"M6 Gran Coupe");
cc[5].engine_cap=4395;
cc[5].mile=17.0;
cc[5].price=1.77;
strcpy(cc[6].carmake,"Mercedes-Benz");
strcpy(cc[6].carmodel,"S Class");
cc[6].engine_cap=2987;
cc[6].mile=14.0;
cc[6].price=1.16;
strcpy(cc[7].carmake,"Mercedes-Benz");
strcpy(cc[7].carmodel,"G Class");
cc[7].engine_cap=5461;
cc[7].mile=8.5;
cc[7].price=1.98;
strcpy(cc[8].carmake,"Mercedes-Benz");
strcpy(cc[8].carmodel,"M Class");
cc[8].engine_cap=4663;
cc[8].mile=10.4;
cc[8].price=2.55;
strcpy(cc[9].carmake,"Jaguar");
strcpy(cc[9].carmodel,"XE");
cc[9].engine_cap=1999;
cc[9].mile=13.06;
cc[9].price=0.41;
strcpy(cc[10].carmake,"Jaguar");
strcpy(cc[10].carmodel,"XF");
cc[10].engine_cap=2179;
cc[10].mile=13.53;
cc[10].price=0.49;
strcpy(cc[11].carmake,"Jaguar");
strcpy(cc[11].carmodel,"XJL");
cc[11].engine_cap=2993;
cc[11].mile=12.9;
cc[11].price=1.01;
strcpy(cc[12].carmake,"Porsche");
strcpy(cc[12].carmodel,"Cayenne");
cc[12].engine_cap=2967;
cc[12].mile=13.88;
cc[12].price=1.05;
strcpy(cc[13].carmake,"Porsche");
strcpy(cc[13].carmodel,"Panamera");
cc[13].engine_cap=2967;
cc[13].mile=12.68;
cc[13].price=1.06;
strcpy(cc[14].carmake,"Porsche");
strcpy(cc[14].carmodel,"Macan");
cc[14].engine_cap=2967;
cc[14].mile=14.32;
cc[14].price=1.02;
//cc[1]="BMW","A",3000;
// cc.getdata();
// cc.putdata();
clrscr();
do
{
clrscr();
cout<<"tt******************IMW
CARS****************n"<<endl;
cout<<"tt Indian Motor Works
t"<<endl<<endl<<endl;
cout<<"tt 1. Available Carsn";
cout<<"tt 2. Compare Carsn";
cout<<"tt 3. Exitn";
cout<<"tt 4. Owner's Info"<<endl<<endl;
cout<<"n Enter your choice :";
cin>>choice;
switch(choice)
{
case 1: clrscr();
cout<<"n tt 1. Audi";
cout<<"n tt 2. BMW";
cout<<"n tt 3. Mercedes-Benz";
cout<<"n tt 4. Jaguar";
cout<<"n tt 5. Porsche";
cout<<"n tt 6. Exit";
cout<<"n Enter your choice: ";
cin>>ch1;
switch(ch1)
{
case 1: cout<<"n tt 1. RS7
Sportback";
cout<<"n tt 2. R8";
cout<<"n tt 3. RS6";
cout<<"n tt 4. Exit";
cout<<"n Enter your
choice: ";
cin>>ch2;
switch(ch2)
{
case 1: cc[0].display();
break;
case 2: cc[1].display();
break;
case 3: cc[2].display();
break;
case 4: exit(0);
}
break;
case 2: cout<<"n tt 1. 7
Series";
cout<<"n tt 2. X6M";
cout<<"n tt 3. M6 Gran
Coupe";
cout<<"n tt 4. Exit";
cout<<"n Enter your
choice: ";
cin>>ch2;
switch(ch2)
{
case 1: cc[3].display();
break;
case 2: cc[4].display();
break;
case 3: cc[5].display();
break;
case 4: exit(0);
}
break;
case 3: cout<<"n tt 1. S
Class";
cout<<"n tt 2. G
Class";
cout<<"n tt 3. M
Class";
cout<<"n tt 4. Exit";
cout<<"n Enter your
choice: ";
cin>>ch2;
switch(ch2)
{
case 1: cc[6].display();
break;
case 2: cc[7].display();
break;
case 3: cc[8].display();
break;
case 4: exit(0);
}
break;
case 4: cout<<"n tt 1. XE";
cout<<"n tt 2. XF";
cout<<"n tt 3. XJL";
cout<<"n tt 4. Exit";
cout<<"n Enter your
choice: ";
cin>>ch2;
switch(ch2)
{
case 1: cc[9].display();
break;
case 2: cc[10].display();
break;
case 3: cc[11].display();
break;
case 4: exit(0);
}
break;
case 5: cout<<"n tt 1.
Cayenne";
cout<<"n tt 2.
Panamera";
cout<<"n tt 3. Macan";
cout<<"n tt 4. Exit";
cout<<"n Enter your
choice: ";
cin>>ch2;
switch(ch2)
{
case 1: cc[12].display();
break;
case 2: cc[13].display();
break;
case 3: cc[14].display();
break;
case 4: exit(0);
}
break;
case 6: exit(0);
}
break;
case 2: clrscr();
cout<<"nn Compare Cars";
cout<<"nn List of Cars";
cout<<"nn
AudittBMWttMercedes
BenzttJaguarttPorsche";
cout<<"nnRS7 Sportbackt7
seriestS ClasstttXEttCayenne";
cout<<"nR8ttX6MttG
ClasstttXFttPanamera";
cout<<"nRS6ttM6 Gran CoupetM
ClasstttXJLttMacan";
cout<<"nnn Enter the two car
models for comparison:";
// cout<<flushall();
gets(carmake1);
gets(carmake2);
for(int i=0;i<15;i++)
{
if(strcmp(carmake1,cc[i].carmodel)==0)
cc[i].display();
if(strcmp(carmake2,cc[i].carmodel)==0)
cc[i].display();
}
break;
case 3:
{
int gdriver = DETECT,gmode;
for (int i=1;i<10;i++)
{
cout<<endl;
for (int j=1;j<=i;j++)
cout<<"Thank You For Visiting";
initgraph(&gdriver,&gmode,"D:TCBGI");
i=getmaxx()/2;
j=getmaxy()/2;
for(i=40;i<200;i++)
{
delay(89);
setcolor(i/10);
arc(i,j,0,180,i-10);
}
}
}
exit(1);
break;
case 4:
{
for (int i=1;i<10;i++)
{
cout<<endl;
for (int j=1;j<=i;j++)
cout<<"t_______``Er.KISSAN''``Er.VIGNESH''``Dr.
RAKESH''______";
}
}
default:
cout<<endl<<endl<<endl<<"^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^Sorry Wrong
Option^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"<<endl;
}
cout<<endl<<endl<<"n Do you want to
continue (y/n): ";
cin>>ch;
}while(ch=='y');
{
if(ch=='y')
cout<<"*************************************
********************************";
getch();
}
}
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$
4. Input and Output Screens
cbse 12 computer science IP
cbse 12 computer science IP
cbse 12 computer science IP
cbse 12 computer science IP
cbse 12 computer science IP
cbse 12 computer science IP
cbse 12 computer science IP
5. Conclusion
Using C++ we have successfullycreated a
Car Comparison Software that can perform
the aforementioned functions with user
friendliness effectively and successfully.
6. Future Enhancements
Calculation and estimation of car
loans.
Providing the user to compare more
than (7-10) cars
Guidance to purchase car via
Internet.
Feature to view 3-D car exterior and
interior.
Enabling alert notification on due
date.
7. Bibliography
Computer Science in C++ By:-
SUMITA ARORA Khan.
S.Chand Publication
WEBSITES:-
www.icbse.com
//THANK YOU
cbse 12 computer science IP

More Related Content

DOCX
Computer science project work
PDF
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
PDF
Computer science class 12 project on Super Market Billing
PDF
BOOK SHOP SYSTEM Project in Python
PDF
Python Project on Computer Shop
DOCX
12th CBSE Computer Science Project
DOCX
C++ COMPUTER SCIENCE PROJECT
DOCX
cbse 12 computer science investigatory project
Computer science project work
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
Computer science class 12 project on Super Market Billing
BOOK SHOP SYSTEM Project in Python
Python Project on Computer Shop
12th CBSE Computer Science Project
C++ COMPUTER SCIENCE PROJECT
cbse 12 computer science investigatory project

What's hot (20)

PDF
Computer Science class 12
PPTX
Tic tac toe
PDF
computer science project class 12th
PDF
Computer Project For Class XII Topic - The Snake Game
DOC
programming in C++ report
DOCX
computer science project for class 12 on telephone billing
PDF
IP project for class 12 cbse
DOC
BOOK SHOP SYSTEM C++
DOCX
computer science project on movie booking system
DOC
sports management synopsis
DOCX
Informatics Practices Project on Tour and travels
PDF
PYTHON PROJECT ON CARSHOP SYSTEM
DOCX
C s investigatory project on telephone directory
PPTX
Final Year Project BCA Presentation on Pic-O-Stica
PDF
Final project report
DOC
Tic tac toe game code
PPTX
Computer Science Investigatory Project
ODT
Library Management Project (computer science) class 12
PDF
MOVIE TICKET BOOKING-COMPUTER SCIENCE C++ PROJECT
DOCX
COLLEGE PHONE BOOK Final documentation
Computer Science class 12
Tic tac toe
computer science project class 12th
Computer Project For Class XII Topic - The Snake Game
programming in C++ report
computer science project for class 12 on telephone billing
IP project for class 12 cbse
BOOK SHOP SYSTEM C++
computer science project on movie booking system
sports management synopsis
Informatics Practices Project on Tour and travels
PYTHON PROJECT ON CARSHOP SYSTEM
C s investigatory project on telephone directory
Final Year Project BCA Presentation on Pic-O-Stica
Final project report
Tic tac toe game code
Computer Science Investigatory Project
Library Management Project (computer science) class 12
MOVIE TICKET BOOKING-COMPUTER SCIENCE C++ PROJECT
COLLEGE PHONE BOOK Final documentation
Ad

Viewers also liked (15)

PDF
Computer science Investigatory Project Class 12 C++
PPTX
Contact Management System
PDF
Petrol station safety
PDF
Computer project final for class 12 Students
PPT
Hotel Management In C++
DOCX
C++ project on police station software
PDF
School Management (c++)
TXT
c++ project on restaurant billing
PPT
Tic tac toe c++ project presentation
DOCX
Hotel Management system in C++
DOC
Project report
PPTX
Hotel Management System
DOCX
Library Management System
PDF
Computer Science Investigatory Project Class 12
DOCX
12th bst project on marketing management
Computer science Investigatory Project Class 12 C++
Contact Management System
Petrol station safety
Computer project final for class 12 Students
Hotel Management In C++
C++ project on police station software
School Management (c++)
c++ project on restaurant billing
Tic tac toe c++ project presentation
Hotel Management system in C++
Project report
Hotel Management System
Library Management System
Computer Science Investigatory Project Class 12
12th bst project on marketing management
Ad

Similar to cbse 12 computer science IP (20)

DOCX
cbse 12 computer science investigatory project
PDF
C++ Program Auto workshop service system
DOCX
#include iostream#include string#include iomanip#inclu.docx
PDF
Telephonedirectory (1)
DOCX
#include iostream #include string #include fstream std.docx
DOCX
Abhishek_Kumar_Resume
PPT
Hotel Management Presentation by Aryan Singh Dhiman
DOCX
#include iostream #include string#includeiomanip using.docx
DOCX
CS Project-Source code for shopping inventory for CBSE 12th
PDF
Assignment DIn Problem D1 we will use a file to contain the dat.pdf
PDF
Car Rental in C++
PPTX
25 лет истории C++, пролетевшей на моих глазах
DOCX
virendra
DOCX
Railway reservation(c++ project)
PDF
Example Of Import Java
DOC
project report in C++ programming and SQL
PDF
Basic c++ 11/14 for python programmers
PDF
Computer Investigatory Project
DOCX
12th CBSE Practical File
cbse 12 computer science investigatory project
C++ Program Auto workshop service system
#include iostream#include string#include iomanip#inclu.docx
Telephonedirectory (1)
#include iostream #include string #include fstream std.docx
Abhishek_Kumar_Resume
Hotel Management Presentation by Aryan Singh Dhiman
#include iostream #include string#includeiomanip using.docx
CS Project-Source code for shopping inventory for CBSE 12th
Assignment DIn Problem D1 we will use a file to contain the dat.pdf
Car Rental in C++
25 лет истории C++, пролетевшей на моих глазах
virendra
Railway reservation(c++ project)
Example Of Import Java
project report in C++ programming and SQL
Basic c++ 11/14 for python programmers
Computer Investigatory Project
12th CBSE Practical File

Recently uploaded (20)

PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Institutional Correction lecture only . . .
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
master seminar digital applications in india
PPTX
Cell Structure & Organelles in detailed.
PDF
Computing-Curriculum for Schools in Ghana
PDF
Pre independence Education in Inndia.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Basic Mud Logging Guide for educational purpose
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Cell Types and Its function , kingdom of life
O5-L3 Freight Transport Ops (International) V1.pdf
O7-L3 Supply Chain Operations - ICLT Program
Anesthesia in Laparoscopic Surgery in India
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Complications of Minimal Access Surgery at WLH
Institutional Correction lecture only . . .
Microbial diseases, their pathogenesis and prophylaxis
master seminar digital applications in india
Cell Structure & Organelles in detailed.
Computing-Curriculum for Schools in Ghana
Pre independence Education in Inndia.pdf
TR - Agricultural Crops Production NC III.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
RMMM.pdf make it easy to upload and study
Basic Mud Logging Guide for educational purpose
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...

cbse 12 computer science IP