KENDRIYAVIDYALAYA
NO.2DELHICANTT
COMPUTERSCIENCEINVESTIGATORYPROJECT
COMPUTER SHOP
YASH KUMAR PANWAR
Class : XII C
Under the Guidance of
Mrs. NEELAM GUPTA
PGT (Computer Science)
Submitted By
C E R T I F I C A T E
This is to certify that YASHKUMARPANWAR
Of Class XII C has prepared the report on the Project
entitled
“COMPUTER SHOP”. The report is the result of his efforts
& endeavors. The report is found worthy of acceptance
as final project report for the subject Computer Science of
Class XII. He has prepared the report under my
guidance.
(Mrs. NEELAM GUPTA)
PGT (Computer Science)
Kendriya Vidyalaya No.2,
Delhi Cantt.
A C K N O W L E D G E M E N T
I would like to express a deep sense of thanks & gratitude to
my project guide Mrs. NEELAM GUPTA for guiding me
immensely through the course of the project. He always evinced
keen interest in my work. His constructive advice & constant
motivation have been responsible for the successful completion of
this project.
My sincere thanks goes to Mr. SAMER SINGH, Our
principal sir, for his co-ordination in extending every possible
support for the completion of this project.
I also thanks to my parents for their motivation & support. I
must thanks to my classmates for their timely help & support for
compilation of this project.
Last but not the least, I would like to thank all those who
had helped directly or indirectly towards the completion of
this project.
CODING
#include<fstream.h>
#include<conio.h>
#include<string.h>
#include<stdio.h>
#include<process.h>
#include<iomanip.h>
#include<dos.h>
#include<graphics.h>
class consumer
{
int cno;
char cname[20];
char adress[20];
int a,b,c;
floati;
public:
voidentry()
{
clrscr();
textcolor(RED);
gotoxy(32,4);
cputs("ALPHA COMPUTERS");
gotoxy(5,8);
cputs("CustomerID:");
gotoxy(5,10);
cputs("Customername :");
gotoxy(5,12);
cputs("Customeradress:");
gotoxy(5,14);
cputs("CustomerService number:");
gotoxy(5,16);
cputs("CostumerSmartcardnumber:");
gotoxy(5,18);
cputs("CostumerPhonenumber:");
gotoxy(5,20);
cputs("CustomerBillnumber:");
gotoxy(45,8);
cin>>cno;
gotoxy(45,10);
gets(cname);
gotoxy(45,12);
gets(adress);
gotoxy(45,14);
cin>>a;
gotoxy(45,16);
cin>>b;
gotoxy(45,18);
cin>>c;
gotoxy(45,20);
cin>>i;
}
voiddisplay()
{
cout<<"nn";
gotoxy(5,8);
cputs("CustomerID:");
cout<<cno;
gotoxy(5,10);
cputs("Customername :");
puts(cname);
gotoxy(5,12);
cout<<"Customeradress:"<<adress;
gotoxy(5,14);
cout<<"CustomerService number:"<<a;
gotoxy(5,16);
cout<<"CostumerSmart card number:"<<b;
gotoxy(5,18);
cout<<"CostumerPhone number:"<<c;
gotoxy(5,20);
cout<<"CustomerBill number:"<<i<<"n";
}
intrcno()
{
returncno;
}
}c;
voidwrite()
{
char ch;
consumerc;
fstreamf1;
c.entry();
f1.open("main.dat",ios::app|ios::binary);
cout<<"nntDOyouwantto save the record(y/n)t";
cin>>ch;
if(ch=='y')
{
f1.write((char*)&c,sizeof(c));
}
f1.close();
}
voidread()
{
consumerc;
fstreamf1;
f1.open("main.dat",ios::in|ios::binary);
while(!f1.eof())
{
f1.read((char*)&c,sizeof(c));
c.display();
if(f1.eof())
{
cout<<"nn End of the file reachednn";
}
}
f1.close();
}
voidsearch()
{
consumerc;
intrn;
char found='n';
ifstreamf1("main.dat",ios::in);
cout<<"nnEnter CustomerIDyouwant to SEARCH :t";
cin>>rn;
while(!f1.eof())
{
f1.read((char*)&c,sizeof(c));
if(c.rcno()==rn)
{
c.display();
found='y';
break;
}
}
if(found=='n')
cout<<"nntRECORDNOTFOUND!!!!!!!!!!!!!n"<<endl;
f1.close();
}
voidmain()
{
textbackground(LIGHTBLUE);
unsignedint sum,add,d,j,e,f,g,h,k,l,w,x,y,z,choice;
int abis=0,apep=0,aden=0,amun=0,aperk=0,acoc=0,atit=0,alux=0,atid=0,aree=0;
unsignedint m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;
int
pend=0,print=0,graph=0,ram=0,hard=0,win=0,ant=0,p1=0,p2=0,g1=0,r1=0,h1=0,w1=0,an1=0,mo=0,
mous=0,web=0,aweb=0,asc=0,scan=0,total=0;
char pu,str[10],yes,et;
clrscr();
lab:;
clrscr();
cout<<"nnnnnnnnnnnnnnnttttWELCOMEnn";
cout<<"tttt TOnn";
cout<<"tttt THEnn";
cout<<"tttt STOREn";
getch();
clrscr();
pass:;
cout<<"nntENTERTHE PASSWORDIN SMALL LETTERSn";
cout<<"nttPASSWORDDOESNOTCONTAINSANYNUMBERnnn";
cout<<"nntttEnteryourPasswordt";
str[0]=getch();
cout<<"*";
str[1]=getch();
cout<<"*";
str[2]=getch();
cout<<"*";
str[3]=getch();
cout<<"*";
str[4]='0';
cout<<"*";
if(strcmp(str,"king")==0)
{
cout<<"nnnttPLEASEWAITFORA WHILE ";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(150);
cout<<".";
delay(200);
}
else
{
cout<<"nnttt^^^WRONG PASSWORD^^^ ";
cout<<"nnttt%%%%%%PleaseRE-ENTERthe PASSWORD%%%%%";
getch();
k++;
getch();
if(k==3)
{
cout<<"nExiting!!!!!Byen";
getch();
exit(0);
}
goto pass;
}
textcolor(RED);
clrscr();
gotoxy(1,6);
textcolor(YELLOW);
cputs(" COMPUTER SCIENCEPROJECTWORK n");
printf(" n");
printf("*********************************************************************
***********");
textcolor(BLACK+WHITE+BLINK);
cout<<"n";
cputs (" WELCOME TO THE ALPHA COMPUTERS n");
printf("*********************************************************************
***********n");
textcolor(LIGHTCYAN+BLINK);
gotoxy(45,48);
cputs("PRESSENTERTO CONTINUE!!!!!!");
getch();
clrscr();
gotoxy(25,10);
textcolor(WHITE);
cputs("WELCOME TO THE COMPUTER STORE");
getch();
clrscr();
gotoxy(32,13);
textcolor(LIGHTGREEN);
cputs("********************");
gotoxy(32,15);
cputs("LOADING");
gotoxy(32,17);
cputs("********************");
gotoxy(32,20);
textcolor(MAGENTA+BLINK);
cputs("PLEASEWAIT.........");
textcolor(RED+GREEN);
delay(500);
gotoxy(32,35);
cputs("10 % completed..");
delay(500);
gotoxy(32,35);
cputs("20 % completed...");
delay(500);
gotoxy(32,35);
cputs("30 % completed....");
delay(500);
gotoxy(32,35);
cputs("40 % completed.....");
delay(500);
gotoxy(32,35);
cputs("50 % completed......");
delay(500);
gotoxy(32,35);
cputs("60 % completed.......");
delay(500);
gotoxy(32,35);
cputs("70 % completed........");
delay(500);
gotoxy(32,35);
cputs("80 % completed.........");
delay(500);
gotoxy(32,35);
cputs("90 % completed..........");
delay(500);
gotoxy(32,35);
cputs("100 % completed...........");
delay(500);
again:;
clrscr();
textbackground(LIGHTBLUE);
textcolor(GREEN);
cout<<"nttt
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@n";
cout<<"nttt !=========================!n";
cout<<"nttt !**** ALPHA STORE *****!n";
cout<<"nttt !=========================!";
cout<<"nttt
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@nnnn";
cout<<" ttt$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$";
cout<<"nnttt* 1.NEW CUSTOMER *";
cout<<"nnttt* 2.DETAILS *";
cout<<"nnttt* 3.SEARCH A RECORD *";
cout<<"nnttt* 4.DISPLAY ALL RECORDS *";
cout<<"nnttt* 5.QUANTITY AVAILABLE *";
cout<<"nnttt* 0.EXIT *n";
cout<<"nttt$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$";
cout<<"nnnntEnteryourchoice :t";
cin>>d;
switch(d)
{
case 1:
clrscr();
textcolor(WHITE);
cout<<"nnntttALPHA COMPUTERS";
cout<<"nnntttCONSUMERINFORMATION";
write();
start:
cout<<"nnnDOYOU WANTTO PURCHASE(Y/N):nn";
cin>>pu;
if(pu=='Y'||pu=='y')
{
clrscr();
items:;
cout<<"ntttt@@@@@@@@@@@@@";
cout<<"nttttPURCHASELIST";
cout<<"ntttt@@@@@@@@@@@@@nnnn";
cout<<"nnttt1.PENDRIVE";
cout<<"nnttt2.SCANNER";
cout<<"nnttt3.PRINTER";
cout<<"nnttt4.WEBCAM";
cout<<"nnttt5.GRAPHICCARD";
cout<<"nnttt6.RAM";
cout<<"nnttt7.HARDDISK";
cout<<"nnttt8.WINDOWSORIGINALCD'S";
cout<<"nnttt9.ANTIVIRUS";
cout<<"nnttt10.MOUSE";
cout<<"nnntttEnteryourchoicet";
cin>>choice;
if(choice==1)
{
bis:;
clrscr();
cout<<"nnttttPENDRIVESnn";
cout<<"n SIZEtttttRATEn";
cout<<"n1. 2GBttttt350n";
cout<<" 2. 4GBttttt500n";
cout<<" 3. 5GBttttt700n";
cout<<" 4. 8GBttttt800n";
cout<<" 5. 16GBttttt1800n";
cout<<" 6. 32GBttttt2400n";
cout<<" 7. 64GBttttt3000n";
cout<<"nntWhichPENDRIVEyouwanttopurchaset";
cin>>p1;
if(p1==1)
{
pend=350;
}
else if(p1==2)
{
pend=500;
}
else if(p1==3)
{
pend=700;
}
else if (p1==4)
{
pend=800;
}
else if(p1==5)
{
pend=1800;
}
else if(p1==6)
{
pend=2400;
}
else if(p1==7)
{
pend=3000;
}
else if(p1==0)
{
goto items;
}
else if(p1!=1||p1!=2||p2!=3||p1!=4||p1!=5||p1!=6||p1!=7)
{
cout<<"nntWRONG CHOICEnn";
getch();
goto bis;
}
cout<<"ntPENDRIVE(MAX5): t";
cin>>m;
if(m>5)
{
cout<<"nntEnterQuantitySmallerthan5";
getch();
goto items;
}
else
abis=1000-m;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
if(choice==2)
{
pep:;
clrscr();
cout<<"nnttttSCANNERnn";
cout<<"n TYPESttttRATEn";
cout<<"n1.FLATBEDtttt5000n";
cout<<" 2.SHETFEDtttt6000n";
cout<<" 3.PHOTOSCANNERttt4500n";
cout<<" 4.FILMSCANNERttt8000n";
cout<<" 5.PORTABLESCANNERttt10000n";
cout<<"nntWhichSCANNERdoyouwantto purchaset";
cin>>scan;
if(scan==1)
{
asc=5000;
}
else if(scan==2)
{
asc=6000;
}
else if(scan==3)
{
asc=4500;
}
else if(scan==4)
{
asc=8000;
}
else if(scan==5)
{
asc=10000;
}
else if(scan==0)
{
goto items;
}
else if(scan!=1||scan!=2||scan!=3||scan!=4||p1!=5)
{
cout<<"nnWrongchoicenn";
getch();
goto pep;
}
cout<<"nntSCANNER(MAX5):t";
cin>>n;
if(n>5)
{
cout<<"nntEnterQuantitySmallerthan5";
getch();
goto items;
}
else
apep=1000-n;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
if(choice==3)
{
den:;
clrscr();
cout<<"nnttttPRINTERnn";
cout<<"n ITEMSttttRATEn";
cout<<"n 1. HP Laserjetttt2000n";
cout<<" 2. DOT Matrix Printerttt500n";
cout<<"nntWhichPRINTERyouwantto purchaset";
cin>>p2;
if(p2==1)
{
print=500;
}
else if(p2==2)
{
print=2000;
}
else if(p2==0)
{
goto items;
}
else if(p2!=1||p2!=2)
{
cout<<"nntWrongchoicenn";
getch();
goto den;
}
cout<<"ntPRINTER(MAX5):t";
cin>>o;
if(o>5)
{
cout<<"nntEnterQuantitySmallerthan5";
goto items;
}
else
aden=110-o;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
if(choice==4)
{
mun:;
clrscr();
cout<<"nnttttWEBCAMnn";
cout<<"n ITEMStttttRATEn";
cout<<"n 1.5 PIXELttttt1500n";
cout<<" 2.8 PIXELttttt6000n";
cout<<" 3.12 PIXELttttt12000n";
cout<<"nntWhichWEBCAMyou wantto purchaset";
cin>>web;
if(web==1)
{
aweb=1500;
}
else if(web==2)
{
aweb=6000;
}
else if(web==3)
{
aweb=12000;
}
else if(web==0)
{
goto items;
}
else if(web!=1||web!=2||web!=3)
{
cout<<"nntWrongchoicenn";
getch();
goto mun;
}
cout<<"nntWEBCAM(MAX5):t";
cin>>p;
if(p>5)
{
cout<<"nntEnterQuantitySmallerthan5";
getch();
goto items;
}
else
amun=1000-p;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
if(choice==5)
{
park:;
clrscr();
cout<<"nnttttGRAPHICCARDnn";
cout<<"n ITEMStttttRATEn";
cout<<"n 1. 32 bitttttt5000n";
cout<<" 2. 64 bitttttt8000n";
cout<<"nntWhichGRAPHICCARDyou want to purchaset";
cin>>g1;
if(g1==1)
{
graph=5000;
}
else if(g1==2)
{
graph=8000;
}
else if(g1==0)
{
goto items;
}
else if(g1!=1||g1!=2)
{
cout<<"nntWrongchoicenn";
getch();
goto park;
}
cout<<"ntGRAPHICCARD(MAX5):t";
cin>>q;
if(q>5)
{
cout<<"nntEnterQuantitySmallerthan5";
getch();
goto items;
}
else
aperk=500-q;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
if(choice==6)
{
coco:;
clrscr();
cout<<"nnttttRAMnn";
cout<<"n ITEMStttttRATEn";
cout<<"n 1. 1GBttttt2000n";
cout<<" 2. 2GBttttt4000n";
cout<<"nntWhichRAMyouwant to purchaset";
cin>>r1;
if(r1==1)
{
ram=2000;
}
else if(r1==2)
{
ram=4000;
}
else if(r1==0)
{
goto items;
}
else if(r1!=1||r1!=2)
{
cout<<"nntOOPS!!!!!!! Wrongchoicenn";
getch();
goto coco;
}
cout<<"ntRAM(MAX2): ";
cin>>r;
if(r>2)
{
cout<<"nntEnterQuantitySmallerthan2";
getch();
goto items;
}
else
acoc=400-r;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
if(choice==7)
{
titan:;
clrscr();
cout<<"nnttttHARDDISKnn";
cout<<"n ITEMStttttRATEn";
cout<<"n 1. 20GBttttt1500n";
cout<<" 2. 50GBttttt2000n";
cout<<" 3. 80GBttttt3000n";
cout<<" 4. 160GBttttt5000n";
cout<<" 5. 320GBttttt8000n";
cout<<"nntWhichHARDDISKyou wantto purchaset";
cin>>h1;
if(h1==1)
{
hard=1500;
}
else if(h1==2)
{
hard=2000;
}
else if(h1==3)
{
hard=3000;
}
else if(h1==4)
{
hard=5000;
}
else if(h1==5)
{
hard=8000;
}
else if(h1==0)
{
goto items;
}
else if(h1!=1||h1!=2||h1!=3||h1!=4||h1!=5)
{
cout<<"nntWrongchoicenn";
getch();
goto titan;
}
cout<<"ntHARDDISK(MAX5):t";
cin>>s;
if(s>5)
{
cout<<"nntEnterQuantitySmallerthan5";
getch();
goto items;
}
else
atit=100-s;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
if(choice==8)
{
lux:;
clrscr();
cout<<"nnttttWINDOWSORIGINALCD'Snn";
cout<<"n ITEMSttttRATEn";
cout<<"n 1. 98ttttt1500n";
cout<<" 2. 2000tttt2000n";
cout<<" 3. XPttttt4000n";
cout<<" 4. VISTAtttt8000n";
cout<<" 5. windows7tttt11000n";
cout<<"nntWhichWINDOWSCDyouwant to purchaset";
cin>>w1;
if(w1==1)
{
win=1500;
}
else if(w1==2)
{
win=2000;
}
else if(w1==3)
{
win=4000;
}
else if(w1==4)
{
win=8000;
}
else if(w1==5)
{
win=11000;
}
else if(w1==0)
{
goto items;
}
else if(w1!=1||w1!=2||w1!=3||w1!=4||w1!=5)
{
cout<<"nnWrongchoicenn";
getch();
goto lux;
}
cout<<"ntWINDOWSORIGINALCD(MAX5):t";
cin>>t;
if(t>5)
{
cout<<"nntEnterQuantitySmallerthan5";
getch();
goto items;
}
else
alux=1000-t;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
if(choice==9)
{
tid:;
clrscr();
cout<<"nnttttANTIVIRUSnn";
cout<<"n ITEMSttttRATEn";
cout<<"n 1. NORTONtttt1500n";
cout<<" 2. AVIRAtttt1200n";
cout<<" 3. QUICKHEALtttt1300n";
cout<<"nntWhichANTIVIRUSyouwanttopurchaset";
cin>>an1;
if(an1==1)
{
ant=1500;
}
else if(an1==2)
{
ant=1200;
}
else if(an1==3)
{
ant=1300;
}
else if(an1==0)
{
goto items;
}
else if(an1!=1||an1!=2||an1!=3)
{
cout<<"nntWrongchoicenn";
getch();
goto tid;
}
cout<<"ntANTIVIRUS(MAX5):";
cin>>u;
if(u>5)
{
cout<<"nntEnterQuantitySmallerthan5";
getch();
goto items;
}
else
atid=1000-u;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
if(choice==10)
{
ree:;
clrscr();
cout<<"nnttttMOUSEnn";
cout<<"n ITEMSttttRATEn";
cout<<"n 1.BALL MOUSEtttt150n";
cout<<" 2.LASER MOUSEtttt300n";
cout<<"nntWhichMOUSE doyou wantto purchaset";
cin>>mous;
if(mous==1)
{
mo=150;
}
else if(mous==2)
{
mo=300;
}
else if(mous==0)
{
goto items;
}
else if(mous!=1||mous!=2)
{
cout<<"nntWrongchoicenn";
getch();
goto ree;
}
cout<<"ntMOUSE(MAX2):t ";
cin>>v;
if(v>2)
{
cout<<"nntEnterQuantitySmallerthan2";
getch();
goto items;
}
else
aree=300-v;
cout<<"ntDOyouwant to purchase more(y/n)";
cin>>yes;
if(yes=='y')
{
clrscr();
goto items;
}
else
{
clrscr();
goto cash;
}
}
cout<<"nnn";
clrscr();
cash:;
cout<<"nnnnnnttttS.T.A.RCOMPUTERSn";
cout<<"nntttt CASH MEMOn";
cout<<"nnnnnnnn";
c.display();
cout<<"nnnn";
cout<<"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^";
cout<<"nITEMS" <<setw(40)<<"QUANTITY"<<setw(35)<<"PRICE(Rs.)";
cout<<"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^";
if(m>0)
cout<<"nnPENDRIVE" <<setw(35)<<m<<setw(28)<<"Rs."<<m*pend;
if(n>0)
cout<<"nnSCANNER" <<setw(36)<<n<<setw(28)<<"Rs."<<n*asc;
if(o>0)
cout<<"nnPRINTER" <<setw(36)<<o<<setw(28)<<"Rs."<<o*print;
if(p>0)
cout<<"nnWEBCAM" <<setw(37)<<p<<setw(28)<<"Rs."<<p*aweb;
if(q>0)
cout<<"nnGRAPHICCARD" <<setw(31)<<q<<setw(28)<<"Rs."<<q*graph;
if(r>0)
cout<<"nnRAM" <<setw(40)<<r<<setw(28)<<"Rs."<<r*ram;
if(s>0)
cout<<"nnHARDDISK" <<setw(34)<<s<<setw(28)<<"Rs."<<s*hard;
if(t>0)
cout<<"nnWINDOWSORIGINALCD"<<setw(24)<<t<<setw(28)<<"Rs."<<t*win;
if(u>0)
cout<<"nnANTIVIRUS" <<setw(34)<<u<<setw(28)<<"Rs."<<u*ant;
if(v>0)
cout<<"nnMOUSE" <<setw(38)<<v<<setw(28)<<"Rs."<<v*mo;
e=m*pend;
f=n*asc;
g=o*print;
h=p*aweb;
k=q*graph;
l=r*ram;
w=s*hard;
x=t*win;
y=u*ant;
z=v*mo;
sum=e+f+g+h+k+l+w+x+y+z; //TOTAL BILL
add=m+n+o+p+q+r+s+t+u+v; //QUANTITYOF ITEMS
cout<<"n*******************************************************************
*********";
cout<<"nTOTAL:"<<setw(38)<<add<<setw(27)<<"Rs."<<sum;
money:;
cout<<"nnnntttEnterthe cashpaidt";
cin>>total;
cout<<"nnntttCASHRECIEVED:"<<total;
if(total<sum)
{
cout<<"nntAmountpaidislessthanyourtotal amount......PAYMOREn";
getch();
goto money;
}
clrscr();
cout<<"nnnnntNOCREDITOFTHE ADDITIONALDUTY OF";
cout<<"nnt CUSTOMS LEVIED UNDER SECTION (5) OF";
cout<<"nnt SECTION-3OF THE CUSTOMS TARIFFACT";
cout<<"nnt 1975 HAVE BEEN AVAILED/SHALLBEADMISSABLEnn";
cout<<"nnnnnttCASHRECEIVED:t"<<total;
cout<<"nnttCASHAMOUNT:t"<<sum;
cout<<"nnttBALANCERETURNED :t"<<total-sum;
cout<<"nnt@@@@@THANK YOU....VISITAGAIN @@@@@n";
getch();
goto again;
}
else
{
clrscr();
getch();
goto again;
}
case 2:
//TO DISPLAYTHE STORE DETAILS
clrscr();
cout<<"nnnnnttttSTOREDETAILS nn";
cout<<"nt%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%nn";
cout<<"tt # TIMING: 11 AM TO 02 PM & 03 PM TO 05 PM n";
cout<<"tt # SHOP WILL CLOSED ON TUESDAY. n";
cout<<"tt # GOODS ONCESOLD WILL NOTBE EXCHANGED/REPLACED. n";
cout<<"tt # TAKE YOUR SMART CARDWITH YOU. n";
cout<<"tt # COLLECT YOUR SMART CARD & BILL AFTERPAYMENT. n";
cout<<"tt # DO NOT BREAKANY SHOPITEMS. n";
cout<<"tt # FOR ANYCOMPLAINTCONTACTTHE CHAIRPERSON. n";
cout<<"tt # 29YEARS OF EXPERIENCE. n";
cout<<"tt # CHAIR PERSON :- MR.SINGHAM n";
cout<<"tt # AN ISO 9001-2000 CERTIFIED COMPANY. n";
cout<<"tt # WELL QUALIFIED STAFFMEMBERS. n";
cout<<"tt # Email :- www.alpha_comp.com n";
cout<<"nt%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%nn";
getch();
clrscr();
goto again;
case 3:
//TO SEARCHTHE RECORDS
clrscr();
search();
getch();
goto again;
case 4:
//TO DISPLAYALL SAVEDRECORDS
{
clrscr();
read();
getch();
goto again;
}
case 5:
//TO DISPLAYTHE QUANTITY AVAILABLEIN THE STORE
clrscr();
if(m>0||n>0||o>0||p>0||q>0||r>0||s>0||t>0||u>0||v>0)
{
cout<<"ntttItemsAvaliableinshop.nnn";
cout<<"=====================================================================
==========";
cout<<"nITEMS" <<setw(40)<<"QUANTITY";
cout<<"n===================================================================
============";
cout<<"nnnPENDRIVE" <<setw(37)<<abis;
cout<<"nnnSCANNER" <<setw(38)<<apep;
cout<<"nnnPRINTER" <<setw(38)<<aden;
cout<<"nnnWEBCAM" <<setw(39)<<amun;
cout<<"nnnGRAPHICCARD" <<setw(33)<<aperk;
cout<<"nnnRAM" <<setw(42)<<acoc;
cout<<"nnnHARDDISK" <<setw(35)<<atit;
cout<<"nnnWINDOWSORIGINALCD"<<setw(26)<<alux;
cout<<"nnnANTIVIRUS" <<setw(36)<<atid;
cout<<"nnnMOUSE" <<setw(40)<<aree;
cout<<"n*******************************************************************
************";
getch();
goto again;
}
else
{
{
cout<<"ntttItemsAvaliableinshop.nnn";
cout<<"=====================================================================
==========";
cout<<"nITEMS" <<setw(40)<<"QUANTITY";
cout<<"n===================================================================
============";
cout<<"nnnPENDRIVE" <<setw(37)<<1000;
cout<<"nnnSCANNER" <<setw(38)<<1000;
cout<<"nnnPRINTER" <<setw(37)<<110;
cout<<"nnnWEBCAM" <<setw(39)<<1000;
cout<<"nnnGRAPHICCARD" <<setw(32)<<500;
cout<<"nnnRAM" <<setw(41)<<400;
cout<<"nnnHARDDISK" <<setw(35)<<100;
cout<<"nnnWINDOWSORIGINALCD" <<setw(26)<<1000;
cout<<"nnnANTIVIRUS" <<setw(36)<<1000;
cout<<"nnnMOUSE" <<setw(39)<<300;
cout<<"nn*****************************************************************
**************";
getch();
goto again;
}
case 0:
//TO EXITFROM THE PROGRAM
clrscr();
cout<<"nnnttAREYOUSURE TO EXIT FROMTHE PROGRAMt";
cin>>et;
if(et=='y')
{
goto ex;
}
else
{
goto again;
}
ex:;
clrscr();
textcolor(GREEN);
sleep(1);
clrscr();
gotoxy(28,30);
cout<<" THANK YOU nnnn";
gotoxy(35,35);
textcolor(GREEN+BLINK);
gotoxy(35,25);
textcolor(RED+YELLOW);
delay(1000);
cputs("HAVEA NICEDAY");
gotoxy(45,45);
textcolor(YELLOW+BLINK);
cputs("PressENTERto EXIT.......");
getch();
exit(0);
default:
cout<<"Your choice isWRONG";
getch();
goto again;
}
}
}

More Related Content

DOCX
Oops practical file
DOCX
Report Card making BY Mitul Patel
PDF
BOOK SHOP SYSTEM Project in Python
DOCX
Computer science project work
PDF
computer science project class 12th
PPT
C++: Constructor, Copy Constructor and Assignment operator
DOCX
cbse 12 computer science IP
PDF
Python Manuel-R2021.pdf
Oops practical file
Report Card making BY Mitul Patel
BOOK SHOP SYSTEM Project in Python
Computer science project work
computer science project class 12th
C++: Constructor, Copy Constructor and Assignment operator
cbse 12 computer science IP
Python Manuel-R2021.pdf

What's hot (20)

PDF
Library Management Python, MySQL
PDF
Informatics Practices/ Information Practices Project (IP Project Class 12)
DOCX
Os lab file c programs
DOC
Let us c (5th and 12th edition by YASHVANT KANETKAR) chapter 2 solution
DOCX
C++ project on police station software
PDF
Complete practical file of class xii cs 2021-22
PDF
I PUC CS Lab_programs
PDF
Isc computer project final upload last
PDF
Python Project On Cosmetic Shop system
PDF
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
DOCX
CS Project-Source code for shopping inventory for CBSE 12th
PDF
PYTHON PROJECT ON CARSHOP SYSTEM
DOCX
C++ file
DOCX
C program to implement linked list using array abstract data type
DOCX
Practical File of C Language
DOCX
computer science with python project for class 12 cbse
PDF
Python Project on Computer Shop
PPTX
Structures and Unions
PDF
Data Structures Practical File
PPTX
Chapter 15 Lists
Library Management Python, MySQL
Informatics Practices/ Information Practices Project (IP Project Class 12)
Os lab file c programs
Let us c (5th and 12th edition by YASHVANT KANETKAR) chapter 2 solution
C++ project on police station software
Complete practical file of class xii cs 2021-22
I PUC CS Lab_programs
Isc computer project final upload last
Python Project On Cosmetic Shop system
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
CS Project-Source code for shopping inventory for CBSE 12th
PYTHON PROJECT ON CARSHOP SYSTEM
C++ file
C program to implement linked list using array abstract data type
Practical File of C Language
computer science with python project for class 12 cbse
Python Project on Computer Shop
Structures and Unions
Data Structures Practical File
Chapter 15 Lists
Ad

Similar to Computer science investigatory project- computer shop (20)

PDF
Report on design and development of low cost 3d printer
PDF
Kirti Kumawat, BCA Third Year
DOCX
cbse 12 computer science investigatory project
DOCX
cbse 12 computer science investigatory project
DOCX
A computer shop management system
DOC
SUPER MARKET COMPUTER SYSTEM IN C++
PDF
Reshma Kodwani , BCA Third Year
PDF
Shivani Chouhan , BCA Third Year
DOCX
Railway reservation(c++ project)
DOCX
c++ project
PDF
Pooja Sharma , BCA Third Year
PDF
Kajal Gaharwal , BCA Third Year
PDF
Deepika Mittal , BCA Third Year
DOC
project report in C++ programming and SQL
DOCX
Railway reservation(c++ project)
DOCX
Computer Practical XII
PDF
Final year project working documentation 2020
PDF
Final Year Project Report on Self Tacit Zone (Location Based Android App)
PDF
-Class-12-Project-Railway-Reservation.pdf
DOCX
Computer science project
Report on design and development of low cost 3d printer
Kirti Kumawat, BCA Third Year
cbse 12 computer science investigatory project
cbse 12 computer science investigatory project
A computer shop management system
SUPER MARKET COMPUTER SYSTEM IN C++
Reshma Kodwani , BCA Third Year
Shivani Chouhan , BCA Third Year
Railway reservation(c++ project)
c++ project
Pooja Sharma , BCA Third Year
Kajal Gaharwal , BCA Third Year
Deepika Mittal , BCA Third Year
project report in C++ programming and SQL
Railway reservation(c++ project)
Computer Practical XII
Final year project working documentation 2020
Final Year Project Report on Self Tacit Zone (Location Based Android App)
-Class-12-Project-Railway-Reservation.pdf
Computer science project
Ad

Recently uploaded (20)

PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PPTX
Core Concepts of Personalized Learning and Virtual Learning Environments
PPTX
Module on health assessment of CHN. pptx
PDF
My India Quiz Book_20210205121199924.pdf
PDF
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
Empowerment Technology for Senior High School Guide
PPTX
Climate Change and Its Global Impact.pptx
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
IP : I ; Unit I : Preformulation Studies
PDF
Literature_Review_methods_ BRACU_MKT426 course material
PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Core Concepts of Personalized Learning and Virtual Learning Environments
Module on health assessment of CHN. pptx
My India Quiz Book_20210205121199924.pdf
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Journal of Dental Science - UDMY (2021).pdf
Empowerment Technology for Senior High School Guide
Climate Change and Its Global Impact.pptx
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
IP : I ; Unit I : Preformulation Studies
Literature_Review_methods_ BRACU_MKT426 course material
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Unit 4 Computer Architecture Multicore Processor.pptx
Computer Architecture Input Output Memory.pptx
B.Sc. DS Unit 2 Software Engineering.pptx

Computer science investigatory project- computer shop