Java Microproject 12
Java Microproject 12
Java Microproject 12
A
MICRO PROJECT
ON
“Shopping cart”
Submitted by :
Roll No. Name of Student Enrollment No. Sign
204 Mesare K.K 1900940036
205 More S.A 1900940037
206 Ambhore P.A 1900940031
CERTIFICATE
This is Certified that this Report is submitted by Ms.Mesare K.K,More S.A Mr.Ambhore P.A
Roll No.(204,205,206) Enrollment No.(1900940036,1900940037,1900940031) a student of 2nd
year of the course Computer Engineering as part of Micro-project Works as prescribed by
the Maharashtra State Board of Technical Education Mumbai for the Subject of and Java
Programming And that I have instructed/guided him/her for the said work from time to
time found him/her to be satisfactory progressive.
And Above student was associated with this work
how ever his contribution was proportionate
And that said work have been assessed with same is upto the standard visaged for the level
of course.
And that is said work may be presented to the Examiner.
PRINCIPAL
Govt. Polytechnic, Jintur
Date :
GovernmentPolytechnic
,Jintur
CERTIFICATE
This is Certified that this Report is submitted by Ms..Kusum Mesare Roll No.(204)
Enrollment No.(1900940036) a student of 2nd year of the course Computer Engineering as
part of Micro-project Works as prescribed by the Maharashtra State Board of Technical
Education Mumbai for the Subject of and Java Programming And that I have
instructed/guided him/her for the said work from time to time found him/her to be
satisfactory progressive.
And Above student was associated with this work
how ever his contribution was proportionate
And that said work have been assessed with same is upto the standard visaged for the level
of course.
And that is said work may be presented to the Examiner.
PRINCIPAL
Govt. Polytechnic, Jintur
Date :
GovernmentPolytechnic
,Jintur
CERTIFICATE
This is Certified that this Report is submitted by Ms.Seema More Roll No.(205) Enrollment
No.(1900940037) a student of 2nd year of the course Computer Engineering as part of Micro-
project Works as prescribed by the Maharashtra State Board of Technical Education
Mumbai for the Subject of and Java Programming And that I have instructed/guided
him/her for the said work from time to time found him/her to be satisfactory progressive.
And Above student was associated with this work
how ever his contribution was proportionate
And that said work have been assessed with same is upto the standard visaged for the level
of course.
And that is said work may be presented to the Examiner.
PRINCIPAL
Govt. Polytechnic, Jintur
Date :
GovernmentPolytechnic
,Jintur
CERTIFICATE
This is Certified that this Report is submitted by Mr.Pankaj Ambhore Roll No.(206)
Enrollment No.(1900940031) a student of 2nd year of the course Computer Engineering as
part of Micro-project Works as prescribed by the Maharashtra State Board of Technical
Education Mumbai for the Subject of and Java Programming And that I have
instructed/guided him/her for the said work from time to time found him/her to be
satisfactory progressive.
And Above student was associated with this work
how ever his contribution was proportionate
And that said work have been assessed with same is upto the standard visaged for the level
of course.
And that is said work may be presented to the Examiner.
PRINCIPAL
Govt. Polytechnic, Jintur
Date :
Annexure I
Micro–Project Proposal
“Shopping cart”
Stepwise description:
1. We collected information from various sources
available.
2. Thus execution of project was made.
4.0) Action Plan
A.K Rathod
Head of Department
(To be approved by the head of department)
Annexure II
Micro- Project Report:
“Shopping cart”
1.0 Rationale:-
1. A shopping cart is a piece of software that acts as an online store's catalog
and ordering process.
2. shopping cart is the interface between a company's Web site.
3. Its deeper infrastructure, allowing consumers to select merchandise; review what they
have selected; make necessary modifications or additions; and purchase the
merchandise
4. Shopping carts can be sold as independent pieces of software so companies can
integrate them into their own unique online solutionor they can be offered as a
feature from a service that will create and host a company's e-commerce website.
1. The “Shopping Cart” has been developed with java programming using jdk app.
2. This also minimizes paperwork and manual tasks.
3. Shopping cart helps us in this project for shopping the things in easy way from
any place.
4.0 Litraturereview:-
1. The software is released under an open source licence and is very often free of
charge.
2. The merchant has to host the software with a Web hosting service.
3. It allows users to access and modify the source code of the entire online store.
Licensed software:
Hosted service:
choice=s1.nextInt();
switch (choice) {
case 1:
add();
break;
case 2:
if(i>0)
{
remove();
}
else
{
System.out.println("\n\n\n------------------Aughs!!Your Cart Is Empty--
---------------");
choices();
}
break;
case 3:
if(i>0)
{
show();
}
else
{
System.out.println("\n\n\n------------------Aughs!!Your Cart Is
Empty-----------------");
choices();
}
break;
case 4:
if(i>0)
{
cartTotal();
}
else
{
System.out.println("\n\n\n---------------------You Bought
Nothing---------------------");
choices();
}
break;
case 5:
System.out.println("Thank You!!!! Visit Once Again$$!!");
break;
default:
System.out.println("Oops!! Incorrect Choice!! Try Again");
break;
}
}
/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$ADDING THE ITEM TO CART
$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$*/
choices();
}
/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$REMOVE THE ITEM FROM CART
$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$*/
choices();
}
/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$SHOWING THE ITEM IN CART
$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$*/
System.out.println("||****************************************************
****||\n");
for(int j = 0;j<i;j++)
{
System.out.println("ITEM: "+v1.elementAt(j));
System.out.println("COST: "+v2.elementAt(j)+".Rs");
System.out.println("QUANTITY: "+v3.elementAt(j));
System.out.println("-----------------------------");
System.out.println("TOTAL: "+v4.elementAt(j)+".Rs");
System.out.println("------------------------------");
}
choices();
/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$SHOWING THE ITEM IN CART
$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$*/
void cartTotal()
{
float cartt=0;
for(int j = 0;j<i;j++)
{
cartt=(float) v4.elementAt(j)+cartt;
System.out.println("||****************************************************
****||");
System.out.println("||****************************************************
****||");
System.out.println("|| You Have Done Shopping Of:"+cartt+".Rs
||");
System.out.println("|| Pay The Total To Our Programmer and Visit
us Again || ");
System.out.println("||****************************************************
****||");
System.out.println("||****************************************************
****||");
System.out.println("||****************************************************
****||");
System.out.println("||****************************************************
****||");
System.out.println("||****************************************************
****||");
System.out.println("|| ||");
System.out.println("|| SHOP HERE ||");
System.out.println("|| ||");
System.out.println("||****************************************************
****||");
System.out.println("||****************************************************
****||");
System.out.println("||****************************************************
****||");
obj.choices();
}
}
OUTPUT:
8.0 Skill developed/ Learning out of this Micro-Project:-
1. We have learnabout java programming.
2. It manages all the information about total available, adding,
removing the cart.
3. The purpose of the project is to build an application
program to reduce the manual.