0% found this document useful (0 votes)
26 views25 pages

Oops Microproject Final

The document describes an online shopping system project. It includes the source code for a C++ program that allows users to shop online by selecting product categories, items, and quantities. The program then calculates the total amount. The document also includes an introduction describing benefits of mobile shopping apps, and conclusions about learning from the project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views25 pages

Oops Microproject Final

The document describes an online shopping system project. It includes the source code for a C++ program that allows users to shop online by selecting product categories, items, and quantities. The program then calculates the total amount. The document also includes an introduction describing benefits of mobile shopping apps, and conclusions about learning from the project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

A

MICRO PROJECT REPORT

ON

“Online Shopping System”

SUBMITTED TO THE MSBTE, MUMBAI IN PARTIAL FULFILLMENT OF THE


REQUIREMENTS FOR THE AWARD OF THE DIPLOMA
DIPLOMA OF COMPUTER ENGINEERING

BY

Mr. Thopate Pranav D. EnRoll No:2215200081


Mr. Thopate Shubham D. EnRoll No:2215200083

UNDER THE GUIDANCE OF


Miss.Thorat J.B.

DEPARTMENT OF COMPUTER ENGINEERING

SHARADCHANDRA PAWAR INSTITUTE OF TECHNOLOGY,


SOMESHWARNAGAR TAL:-BARAMATI DIST:-PUNE
DEPARTMENT OF COMPUTER ENGINEERING
SHARADCHANDRA PAWAR INSTITUTE OF TECHNOLOGY,
SOMESHWARNAGAR
TAL:-BARAMATI DIST:-PUNE
Pin No:-412306

CERTIFICATE
This is to certify that the Project report entitled

“Online Shopping System”

Submitted by:

Mr. Thopate Pranav D. EnRoll No:2215200081


Mr. Thopate Shubham D. EnRoll No:2215200083

Is a confide work carried out by them under the supervision of Ms.Thorat J.B.

and it is submitted towards the partial fulfillment of the requirement of MSBTE,


Mumbai for the Award of the Diploma of Computer Engineering

(Internal Guide) ( HOD Of Computer Dept )

Ms.Thorat J.B. Ms.Nazirkar S.P.

(Principal)
Place:-Someshwarnagar
Prof.Hajare S.K
ACKNOWLEDGEMENT

We express our sincere thanks to Ms.Thorat J.B. whose supervision,


inspiration and valuable discussion has helped us tremendously to complete
our project. Her guidance proven to the most valuable to overcome all the
hurdles in the fulfillment of this project on

“Online Shopping System”

We grateful to Ms.Nazirkar S.P Head of Computer Dept. for direct


or indirect help in the completion of this project. Last but not least, this
acknowledgment would be incomplete without rendering my sincere gratitude to
all those who have helped us in the completion of this project

Yours Sincerely,

Mr. Thopate Shubham D.


Mr. Thopate Shubham D.
Introduction

Shopping apps are also typically more responsive and easy


to navigate than mobile websites. This can be important for
customers who have trouble with websites. Mobile apps can
allow you to organize and redirect customers to precisely what
they need without any distractions that could take them away
from your website.
This will provide higher customer satisfaction and can lead to
more sales. In addition to being more responsive and easy to
navigate, mobile shopping apps often offer exclusive deals and
discounts that are not available on the retailer’s website. This can
be a major draw for customers, as they can save money by using
the app. As mobile traffic continues to grow, businesses need to
take advantage of mobile shopping apps to attract new
customers.

• Source code:-

#include<iostream.h>
#include<conio.h>
using namespace std;
class shop { public:
void start()
{
char s; float OnlineShopping(void);
cout<<"*******WELCOME********"<<endl;
start:
cout<<"Enter 's/S' to Start
Shopping"<<endl; cin>>s; system("CLS");
if(s=='s'||s=='S')
{
calculate();
}
else
{
cout<<"Sorry,you have entered wrong input"<<endl;
goto start;
}
} void
calculate()
{
char yn;

float TotalAmount=OnlineShopping();
system("CLS"); cout<<"your total amount is
"<<TotalAmount<<"Rs"<<endl; cout<<"do you want to
shop again? enter y to yes and n to no"<<endl;
cin>>yn;
system("CLS");
if(yn=='y'|| yn=='Y')
{
start();
}

else if(yn=='n' || yn=='N')


{
cout<<"Thank You For Shopping"<<endl;
}
} float
OnlineShopping()
{
int choice;
float q,k,c;//q=quantity c=item no.k= total price
cout<<"(1)enter 1 to buy smartphone "<<endl;
cout<<"(2)enter 2 to buy laptop "<<endl; cout<<"(3)enter
3 to buy Headphones "<<endl; cout<<"(4)enter 4 to buy
watch "<<endl;//enter catogery here
cin>>choice;
system("CLS"); if(choice==1)
{
mobile:
cout<<"(1) Iphone 11"<<"price
:"<<"RS.40000"<<endl;
cout<<"(2) Realme x7"<<"price
:"<<"Rs.27000"<<endl; cout<<"(3)
Samsung galaxy"<<"price
:"<<"Rs.24000"<<endl; cout<<"(4)

Xiaomi mi 11x"<<"price
:"<<"Rs.32000"<<endl; cout<<"enter the
item no. which you want to buy"<<endl;
cin>>c;
if(c==1)
{
cout<<"enter quantity"<<endl; float q,k,c;//q=quantity c=item no.k= total price
cout<<"(1)enter 1 to buy smartphone "<<endl;
cout<<"(2)enter 2 to buy laptop "<<endl; cout<<"(3)enter
3 to buy Headphones "<<endl; cout<<"(4)enter 4 to buy
watch "<<endl;//enter catogery here
cin>>choice;
system("CLS"); if(choice==1)
{
mobile:
cout<<"(1) Iphone 11"<<"price
:"<<"RS.40000"<<endl;
cout<<"(2) Realme x7"<<"price
:"<<"Rs.27000"<<endl; cout<<"(3)
Samsung galaxy"<<"price
:"<<"Rs.24000"<<endl; cout<<"(4)
Xiaomi mi 11x"<<"price
:"<<"Rs.32000"<<endl; cout<<"enter the
item no. which you want to buy"<<endl;
cin>>c;
if(c==1)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*40000;
}
else if(c==2)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*27000;
}
else if(c==3)
{
cout<<"enter quantity"<<endl; cin>>q;
k=q*24000;
}
else if(c==4)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*32000;
}
else{
cout<<"you have entered invalid
number"<<endl;
goto mobile;
}
}
else if(choice==2)
{
laptop:
cout<<"(1) HP 15s"<<"price :"<<"RS.45000"<<endl;
cout<<"(2) Apple Macbook "<<"price
:"<<"Rs.100000"<<endl; cout<<"(3)
Lenovo"<<"price :"<<"Rs.50000"<<endl; cout<<"(4) HP
pavalion"<<"price
:"<<"Rs.56000"<<endl; cout<<"enter the
item no. which you want to buy"<<endl;
cin>>c;
if(c==1)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*46000; else{
cout<<"you have entered invalid
number"<<endl;
goto mobile;
}
}
else if(choice==2)
{
laptop:
cout<<"(1) HP 15s"<<"price :"<<"RS.45000"<<endl;
cout<<"(2) Apple Macbook "<<"price
:"<<"Rs.100000"<<endl; cout<<"(3)
Lenovo"<<"price :"<<"Rs.50000"<<endl; cout<<"(4) HP
pavalion"<<"price
:"<<"Rs.56000"<<endl; cout<<"enter the
item no. which you want to buy"<<endl;
cin>>c;
if(c==1)

{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*46000;
}
else if(c==2)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*100000;
}
else if(c==3)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*50000;
}
else if(c==4)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*56000;
}

else{
cout<<"you have entered invalid
number"<<endl;
goto laptop;

}
}
else if(choice==3)
{
headphone:
cout<<"(1)BOat 370"<<"price :"<<"RS.1200"<<endl;
cout<<"(2) Apple airpod "<<"price
:"<<"Rs.18000"<<endl; cout<<"(3) Realme
q2"<<"price :"<<"Rs.1600"<<endl; cout<<"(4) Oneplus
Buds"<<"price
:"<<"Rs.3500"<<endl;
cout<<"enter the item no. which you want to
buy"<<endl;
cin>>c;
if(c==1)
{
cout<<"enter quantity"<<endl; cout<<"you have entered invalid
number"<<endl;
goto laptop;

}
}
else if(choice==3)
{
headphone:
cout<<"(1)BOat 370"<<"price :"<<"RS.1200"<<endl;
cout<<"(2) Apple airpod "<<"price
:"<<"Rs.18000"<<endl; cout<<"(3) Realme
q2"<<"price :"<<"Rs.1600"<<endl; cout<<"(4) Oneplus
Buds"<<"price
:"<<"Rs.3500"<<endl;
cout<<"enter the item no. which you want to
buy"<<endl;
cin>>c;
if(c==1)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*1200;
}
else if(c==2)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*18000;
}
else if(c==3)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*1600;
}
else if(c==4)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*3500;
}
else{
cout<<"you have entered invalid
number"<<endl;
goto laptop;

}
}

else if(choice==3)
{
watch:
cout<<"(1)DIzo"<<"price :"<<"RS.5200"<<endl;
cout<<"(2) Apple watch "<<"price
:"<<"Rs.18000"<<endl; cout<<"(3) Realme
"<<"price :"<<"Rs.4600"<<endl; cout<<"(4)
samsung"<<"price :"<<"Rs.5000"<<endl; cout<<"enter the
item no. which you want to buy"<<endl;
cin>>c;

if(c==1)
{
cout<<"enter quantity"<<endl; else{
cout<<"you have entered invalid
number"<<endl;
goto laptop;

}
}

else if(choice==3)
{
watch:
cout<<"(1)DIzo"<<"price :"<<"RS.5200"<<endl;
cout<<"(2) Apple watch "<<"price
:"<<"Rs.18000"<<endl; cout<<"(3) Realme
"<<"price :"<<"Rs.4600"<<endl; cout<<"(4)
samsung"<<"price :"<<"Rs.5000"<<endl; cout<<"enter the
item no. which you want to buy"<<endl;
cin>>c;
if(c==1)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*5200;
}
else if(c==2)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*18000;
}
else if(c==3)
{
cout<<"enter quantity"<<endl;
cin>>q;
k=q*4600;
}
else if(c==4)
{
cout<<"enter quantity"<<endl; cin>>q;
k=q*5000;
}
else{
cout<<"you have entered invalid
number"<<endl;
goto watch;

}
}
}
}; int
main ()
{
shop a;
a.start();
getch();
}

• Output:-
• Conclusion :-

In this microproject we learnt to use c++ in daily application. We learnt some


new things about c++. We also get some errors but we solved it and learnt about
how the error occurred.The source code took time to write but it was worthy .We
also know about some functions while performing this micro-project. It gave us
some confidence in programming and how to do teamwork while programming.

• Reference

1. https://www.ecwid.com/blog/mobile - shopping -
2.OOP learning manual.
3. https://www.youtube.com/
4. https://www.w3schools.com/

You might also like