You are on page 1of 17

A Project Report on

Online Retail Application System


In the partial fulfillment of the Diploma in Computer Engineering for the academic Year
2023-24
Submitted to
GOVERNMENT POLYTECHNIC, JALGAON
Submitted by
Roll No. Name of the Student Class
38 Darshan Gajanan Lahase CO4I
39 Krushna Shivshankar Lohar CO4I
51 Dhanashree Anil Patil CO4I
56 Om Hemant Patil CO4I

Under the Guidance of


Prof. Nitin Pawar.
Lecturer in Java Programming
Department of Computer Engineering
Government Polytechnic, Jalgaon

1
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
CERTIFICATE

This is to certify that Group Copy Roll No.38,39,51,56 of Fourth Semester of Diploma in
Computer Engineering of Institute Government Polytechnic, Jalgaon (0018) has
completed the Micro Project satisfactorily in the Subject JPR ( 22414)for the Academic Year
2023-24 as prescribed in the curriculum.

Place: Jalgaon EnrollmentNo.2200180507,508,521,529


Date: Exam Seat No:

Subject Teacher Head of the Department Principal

2
WEEKLY WORK REPORT

SR.
WEEK ACTIVITY PERFORMED DATE SIGN OF
NO. GUIDE
1 Discussion and finalization of Topic
1st
2 Preparation and Submission of Abstract
2nd
3 Literature Review
3rd
4 Collection of Data
4th
5 Collection of Data
5th
6 Discussion and Outline of Content
6th
7 Formulation of Content
7th
8 Editing and Proof Reading of Content
8th
9 Compilation of Report and Presentation
9th
10 Seminar
10th
11 Viva Voce
11th
12 Final Submission of Micro Project
12th

3
EVALUATION SHEET FOR MICRO PROJECT
(Academic Year: 2023-24)
Name of the Student: . (Group copy) -Roll No: 38,39,51,56
Course: Java Programming CourseCode:(22414)
Title of the Project: Online Retail Application System
Cos addressed by Micro Project:
a) To provide the knowledge of basic online retail store and their implementations.
b) To understand importance of java programming language

Major learning outcomes achieved by students by doing the project:


a) Practical outcome:
1) Develop skills to design and analyze simple data network in 5G.
b) Unit outcomes in Cognitive Domain:
● Understand the architecture and key features of java language.
c) Out comes in affective domain:
1) Function as a team member
2) Follow ethics

Comments/suggestions about teamwork/leadership/interpersonal communications (if any):


Marks out of
Marks out of
04 for
06 for
performance
performance Total out
Roll No Student Name in oral or
in group of 10
presentation
activity (D5
(D5 Column
Column 08)
09)

38 Darshan Gajanan Lahase

39 Krushna Shivshankar Lohar

51 Dhanashree Anil Patil


56 Om Hemant Patil

Name & Signature of Faculty:

Prof. Nitin Pawar

4
INDEX

Sr. No. Content Page No.

1 Introduction

2 Purpose

3 Advantages

4 Code

5 Output

6 Conclusion

7 Reference

5
Introduction

The Online Retail Application System is a Java-based program


designed to revolutionize the online retail experience. With a
user-friendly interface, robust security measures, and seamless
transaction capabilities, the system empowers merchants to manage
their product catalogs effortlessly while providing customers with a
secure and convenient platform for browsing, ordering, and tracking
purchases.

Key features include responsive design, secure payment integration,


and multi-level user authentication, making it a versatile and reliable
solution for businesses entering the digital marketplace. Welcome to
the future of retail with our Online Retail Application System, a
sophisticated and dynamic Java-based solution that propels the world
of e-commerce to new heights. This innovative program is
meticulously crafted to provide a seamless and secure online shopping
experience, catering to both merchants and customers alike.

Leveraging the versatility and reliability of Java, our system brings


forth a feature-rich platform where businesses can effortlessly
showcase their products, manage inventory, and conduct secure
transactions. With an intuitive interface, robust security measures, and
responsive design, our Online Retail Application System redefines the
standards of online retail, offering a cutting-edge solution for
businesses venturing into the digital marketplace. Step into a world
where convenience meets technology, and shopping becomes a
streamlined and enjoyable experience for all.

6
Purpose:

The Online Retail Application System, developed in Java, serves as a versatile and
robust solution with the primary purpose of revolutionizing the landscape of online
retail. This innovative program is designed to empower businesses by facilitating
the creation and management of digital storefronts, allowing merchants to showcase
their products globally. Through intuitive interfaces and streamlined processes, the
system ensures a seamless and secure online shopping experience for customers.
Key functionalities encompass efficient product catalog management, secure
transaction processing, and responsive design catering to various devices. The
program prioritizes security with multi-level authentication, safeguarding sensitive
information during transactions. With features such as order processing, tracking,
and payment integration, the system aims to enhance operational efficiency for
merchants while adapting to the evolving demands of the digital marketplace.
Overall, the purpose of the Online Retail Application System is to provide a
comprehensive, secure, and user-friendly platform that optimally caters to the needs
of both merchants and customers in the dynamic realm of online commerce.

ADVANTAGES:

The provided Java program, "RetailShop," serves as a simple yet functional online
retail application with a focus on grocery, electronic, and furniture products.
Despite its straightforward structure, the program offers several advantages:

1. User-Friendly Interface: The program provides a clear and interactive menu,


allowing users to easily navigate through product categories and make selections.

2. Product Information: Detailed product lists within each category offer users
information about available items, including their prices, enhancing the shopping
experience.

3. Dynamic Pricing: The program employs dynamic pricing structures, ensuring


accurate cost calculations based on the selected items and quantities.
7
4. Modular Design: The modular design of the program allows for easy expansion
and modification, accommodating the addition of new product categories or
changes to existing ones.

5. Tax Calculation: The inclusion of a tax calculation function adds financial


transparency, providing users with the total amount including a 4% tax rate.

6. Looping Menu: The program features a continuous loop that allows users to
make multiple selections without restarting the application, contributing to a
seamless and user-friendly shopping process.

7. Graceful Exit: The option to exit gracefully with a thank-you message enhances
user satisfaction and signifies the end of the shopping session.

8. Efficient Price Assignment: The program efficiently assigns prices based on the
selected product and category, streamlining the calculation process.

While this program is a simplified representation, it lays the foundation for


potential enhancements such as user authentication, secure transactions, and a more
extensive product database, further enriching the overall online retail experience.

8
CODE:

Import java.util.*;

Public class RetailShop {

// Function to calculate the total amount including tax


Static double calculateTotalAmount(double price) {
Final double taxRate = 0.05;
Return price + (price * taxRate);
}

Public static void main(String[] args) {


System.out.println(“Welcome to D2OK Retail Shop”);

Scanner scanner = new Scanner(System.in);

While (true) {
Int choice;
System.out.println(“\nSelect a section:”);
System.out.println(“1. Grocery”);
System.out.println(“2. Electronic”);
System.out.println(“3. Furniture”);
System.out.println(“4. Exit”);
System.out.println(“Enter your choice: “);
Choice = scanner.nextInt();

If (choice == 4) {
System.out.println(“Thank you for shopping. Visit again!”);
Break;
}

Double totalPrice = 0.0;


9
Switch (choice) {
Case 1:
System.out.println(“\nGrocery Product list:”);
System.out.println(“1. Sugar: Rs. 50”);
System.out.println(“2. Salt: Rs. 10”);
System.out.println(“3. Honey: Rs. 100”);
System.out.println(“4. Masala: Rs. 30”);
System.out.println(“5. Maida: Rs. 25”);
System.out.println(“6. Rava: Rs. 40”);
System.out.println(“7.Soyabean oil: Rs. 120”);
System.out.println(“8. Minderjoy: Rs.30”);
System.out.println(“9. Dairy milk Chocolate: Rs. 20”);
System.out.println(“10. Dry fruits: Rs. 150”);
Break;
Case 2:
System.out.println(“\nElectronic Product list:”);
System.out.println(“1. Ramson TV: Rs. 30000”);
System.out.println(“2. Refrigerator: Rs. 25000”);
System.out.println(“3. Iron: Rs. 1500”);
System.out.println(“4. AC: Rs. 35000”);
System.out.println(“5. Tito Mobile: Rs. 12000”);
System.out.println(“6. Goppo Mobile: Rs. 15000”);
System.out.println(“7. Sedmi Mobile: Rs. 18000”);
Break;
Case 3:
System.out.println(“\nFurniture Product list:”);
System.out.println(“1. Table: Rs. 2000”);
System.out.println(“2. Cupboard: Rs. 5000”);
System.out.println(“3. Dining table: Rs. 3000”);
System.out.println(“4. Sofa: Rs. 6000”);
System.out.println(“5. Plywood: Rs. 1000”);
System.out.println(“6. Doors: Rs. 1500”);

10
Break;
Default:
System.out.println(“Invalid choice. Please try again.”);
Continue;
}

Int numItems;
System.out.println(“Enter the number of items you want to purchase: “);
numItems = scanner.nextInt();

for (int I = 0; I < numItems; i++) {


int productNumber;
System.out.println(“Enter the product number: “);
productNumber = scanner.nextInt();

double price;

switch (choice) {
case 1:
switch (productNumber) {
case 1:
price = 50;
break;
case 2:
price = 10;
break;
case 3:
price = 100;
break;
case 4:
price = 30;
break;

11
case 5:
price = 25;
break;
case 6:
price = 40;
break;
case 7:
price = 120;
break;
case 8:
price = 10;
break;
case 9:
price = 20;
break;
case 10:
price = 150;
break;
default:
System.out.println(“Invalid product number. Skipping.”);
Continue;
}
Break;
Case 2:
Switch (productNumber) {
Case 1:
Price = 30000;
Break;
Case 2:
Price = 25000;
Break;
Case 3:
Price = 1500;

12
Break;
Case 4:
Price = 35000;
Break;
Case 5:
Price = 12000;
Break;
Case 6:
Price = 15000;
Break;
Case 7:
Price = 18000;
Break;
Default:
System.out.println(“Invalid product number. Skipping.”);
Continue;
}
Break;
Case 3:
Switch (productNumber) {
Case 1:
Price = 2000;
Break;
Case 2:
Price = 5000;
Break;
Case 3:
Price = 3000;
Break;
Case 4:
Price = 6000;
Break;
Case 5:

13
Price = 1000;
Break;
Case 6:
Price = 1500;
Break;
Default:
System.out.println(“Invalid product number. Skipping.”);
Continue;
}
Break;
Default:
System.out.println(“Invalid choice. Please try again.”);
Continue;
}

totalPrice += price;
}

Double totalAmount = calculateTotalAmount(totalPrice);

System.out.println(“__________________________________________________
_________”);
System.out.printf(“Total amount (including 5%% tax): Rs. %.2f%n”,
totalAmount);

System.out.println(“__________________________________________________
_________”);
System.out.println(“Thankyou for Shopping!! Visit again!!..”);

System.out.println(“__________________________________________________
_________”);
}

14
Scanner.close();
}
}

Output:

15
16
Conclusion:

The "RetailShop" Java program introduces a basic but functional Online Retail
Application System with features tailored for grocery, electronic, and furniture
products. Its strengths lie in a user-friendly interface, dynamic pricing, and a
modular design, enabling easy expansion. The inclusion of tax calculations, a
looping menu, and a graceful exit adds to its usability. While this program serves
as a foundational prototype, its simplicity allows for potential enhancements, such
as user authentication and secure transactions, to meet the evolving needs of online
retail. Overall, the "RetailShop" program offers a glimpse into the possibilities of
creating a more comprehensive and adaptable online retail solution in Java.
Top of Form

Reference:

1) www.google.com
2) Nirali Java Programming MSBTE - Mahesh Gurunani
3) https://watsonite.com/case_studies/online-retail-store-using-java/

17

You might also like