Term Paper: Shopping Mall Cse 202: Submitted BY: MR Piyush Sir
Term Paper: Shopping Mall Cse 202: Submitted BY: MR Piyush Sir
Shopping mall
Cse 202
d.o.s: 15/11/2010
SUBMITTED TO: SUBMITTED
BY:
Mr piyush sir BHANU PRATAP
RB6911A07
thought, discussions
for the preparation of
the term paper. I find
it beyond my words
to acknowledge the
love, help and
inspiration offered by
First of all, I would my friends. Finally, I
like to thanks my would also like to
parent who always thank all those who
helps me in every knowing or
situation and then I unknowingly helped
bow my head to me all throughout my
‘Almighty God’ who project. All cannot be
gave command to my mentioned but none is
hands to make the forgotten.
project a success.
Words at my
command are
insufficient to show
my respect to
Mr.piyush Sir
Reddy, my internal
guide for inspiring
#include<iostream.h>
and providing #include<conio.h>
void main(void)
constructive ideas {
clrscr();
and rendering
textcolor(4); cputs("\npress 2. see items,
textbackground(6); rates
cputs("................................ ");
............................................ cputs("\npress 3. for exit
...."); ");
cputs(". cputs("\nEnter your
."); choise----->
cputs(". <----------- ");
WELCOME IN cin>>arun2;
SHOPPING MALL---> switch(arun2)
."); {
cputs(". case 2:
."); // cout<<"\n"; {
cputs("................................ textcolor(4);
............................................ textbackground(6);
...."); // cout<<"\n"; cputs(" S.N | item name
int total,c; | item code | rate
int ");
c1=0,c2=0,c3=0,c4=0,c5= textcolor(4);
0; textbackground(8);
int code,arun1,arun2,saini; cputs("\n----------------------
arun: ---------------------
textbackground(8); ");
textcolor(5); cputs(" 1. | Nirma
cputs("\nenter powder| 101 | 15.00
password----->"); ");
cin>>code; cputs(" 2. | Lux shoap |
if(code<=9999 && 102 | 12.00
code>=1000) ");
{ cputs(" 3. | Kurkure |
textcolor(4); 103 | 20.00
cputs("\npress 1. for ");
shopping cputs(" 4. | TataTea |
"); //cout<<"\n"; 104 | 55.00
cputs("\npress 10. for exit ");
"); // cout<<"\n"; cputs(" 5. | Vatika
cputs("\nEnter your choise sampu| 105 | 30.00
");// cout<<"\n"; ");
cin>>arun1; cputs("------------------------
switch(arun1) ---------------------
{ ");
case 1: textcolor(6);
{ textbackground(8);
textcolor(6); cout<<"\n";
textbackground(8);
cputs("if you want to goto arunkum;
purchase items press 4.----- cout<<"\n"<<"exit ";
> "); }
cputs("if you want to exit case 7:
for this press 5.----->"); {
cin>>saini; goto come;
switch(saini) }
{ }
case 4: }
{ else
int itc,arun3,n; {
textcolor(2); if(itc==102)
cputs("enter the items {
codes and quntity"); c2=12*n;
cout<<"\n"; cout<<" "<<c2;
cputs("code quntity rate }
"); else
come: {
cin>>itc>> n; if(itc==103)
if(itc==101||itc==102|| {
itc==103||itc==104|| c3=20*n;
itc==105) cout<<" "<<c3;
{ }
if(itc==101) else
{ {
c1=15*n;cout<<" if(itc==104)
"<<c1; {
arunku: c4=55*n;cout<<"
textcolor(4); "<<c4;
cputs(" for bil }
press 6.& continu press 7.- else
>"); {
cin>>arun3; if(itc==105)
cout<<"\n"; {
switch(arun3) c5=30*n;cout<<"
{ "<<c5;
case 6: }
{ }
total= c1+c2+c3+c4+c5; }
textcolor(3); }
cputs("total price="); }
cout<<total; goto arunku;
cputs("\n............THIS }
PROJECT DEVELOPED }
BY ARUN KUMAR case 5:
SAINI..........."); {
arunkum:
break;
}
}
}
case 3:
{
break;
}
}
}
}
}
else
{
cout<<"Enter right
code\n";
goto arun;
}
getch();
}
Reference :
[I].
E.BALAGURUSAMY,OB
JECT ORIENT
PROGRAMMING WITH
C++,PRENTICE HALL
[II].OBJECT ORIENT
PROGRAMMING USING
C++,R.S SALARIA
[III].LIPPMAN F.B.,
C+
+PRIMER,ADDISON WESLEY