Mobile Store Management System
Acknowledgement
I would like to express my sincere gratitude to my teacher, who guided me throughout
the development of this real-life project. This project has been an incredible learning
opportunity, and I appreciate the support and feedback provided to help refine it.
Introduction
The Mobile Store Management System aims to streamline the process of
managing mobile inventory, adding new mobile details, and generating customer bills.
This system solves real-world problems faced by retail mobile stores, offering an
efficient and user-friendly solution.
Key Functionalities
1. View Mobile Details
2. Add New Mobile Details
3. Generate Customer Bill
4. Exit the System
Flowchart
[Flowchart Image Placeholder]
Source Code
import java.util.*;
public class Mobile {
static String[] brand = {"Iphone", "Iphone", "Moto G", "Samsung", "Samsung", " "};
static String[] model = {"6s", "8+", "G4+", "J7", "J8", " "};
static int[] price = {36992, 49490, 84490, 15000, 12678, 0};
static int[] scustcode = {1300, 1301, 1302, 0, 0};
static String[] scustnm = {"HMM Ltd", "Pankaj Shah", "Ajay Aggarwal", " ", " "};
static String[] custadd = {"Delhi", "Mumbai", "Pune", " ", " "};
static int inv = 13000, g = 0;
public static void main() {
Scanner sc = new Scanner(System.in);
int flag = 0;
while (flag == 0) {
System.out.println("\f");
System.out.println("WELCOME TO THE MOBILE STORE");
System.out.println("1. Details of Mobiles");
System.out.println("2. Add New Mobile");
System.out.println("3. Generate Bill");
System.out.println("4. Exit");
int choice = sc.nextInt();
switch (choice) {
case 1: displayMobiles(); break;
case 2: addMobile(); break;
case 3: generateBill(); break;
case 4: flag = 1; break;
default: System.out.println("Invalid Input");
}
}
}
public static void displayMobiles() {
System.out.println("BrandModelPrice");
for (int i = 0; i < brand.length; i++) {
if (!brand[i].trim().isEmpty()) {
System.out.println(brand[i] + "" + model[i] + "" + price[i]);
}
}
}
public static void addMobile() {
// Code for adding new mobile
}
public static void generateBill() {
// Code for generating bill
}
}
Conclusion
This project provided practical exposure to Java programming concepts such as
object-oriented design, loops, and conditionals. It also reinforced the importance
of structured problem-solving and efficient coding.
Bibliography
1. Java Documentation - https://docs.oracle.com/javase/
2. Textbook: Frank Computer Applications Class X