From 5d75c14eb990abfb1d0df3ebc2e655f5cf8bb50c Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:32:00 +0530 Subject: [PATCH 01/15] Create Team Members --- Team 3 - Clothing Store/Team Members | 1 + 1 file changed, 1 insertion(+) create mode 100644 Team 3 - Clothing Store/Team Members diff --git a/Team 3 - Clothing Store/Team Members b/Team 3 - Clothing Store/Team Members new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/Team 3 - Clothing Store/Team Members @@ -0,0 +1 @@ + From e5e08d43081b4a6bd219d30e6f4d707e13d1e441 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:32:30 +0530 Subject: [PATCH 02/15] Add files via upload --- Team 3 - Clothing Store/README.md | 71 +++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 Team 3 - Clothing Store/README.md diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md new file mode 100644 index 0000000..88fdd06 --- /dev/null +++ b/Team 3 - Clothing Store/README.md @@ -0,0 +1,71 @@ +# Buffer_2.0 +Buffer_2.0 repo to submit your projects to.Repository containing folder-wise code for all submissions to Buffer : A Project Series, conducted between April, 2021 - June, 2020. + +Each folder should contain a separate README to describe the files and project objective + + + +Introduction : +This system is basically concerned with the +reservation of railway tickets to the passengers. +In this we are discussing that how the reservation is +done with the feature of cancelling and waiting list. +In the project we are going to include entities like +Reservation +Cancellation +Display reserved and waiting list passengers + + + +OBJECTIVE OF THE PROJECT: + All the manual work should be converted into +computerized so that the load of employees should +decrease. + The data should be stored in computer rather than in +register manually. + Booking can be done by sitting at your home only, no +need to visit the booking counter + + +Data Structure : +Singly Linked List : +Linked List is a sequential collection of +nodes.Which is faster than array in terms of +deletion of nodes. It’s memory is dynamically +allocated in runtime. This saves time and +space. +Each node consists of four different data field : +#Name +#Age +#Registration Number +#Link to the next node + +Queue : +Queue is a data structure in which +insertion and deletion takes place from +the ends. It follows First In First Out +Principle. + Queue data structure is used here to +store the waiting list passengers. If anyone +cancels their ticket then that seat is +allocated to the first passenger in the +queue. + + +Learnings from this project : +We learnt to solve real life problems by using +data Structures +Actual implementation of data structures that +we have learnt +By using technology how we can save our + + +What’s next for the project : +We can optimise our time complexity +using some different data structure. +We can add features such as prioritising +on the basis of age or railway employees +and gender. +We can add feature of tatkal reservation. +We can provide this solution on online +portal. From d5f6fac4f61f9ab251364869e22fbae597c494e0 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:35:59 +0530 Subject: [PATCH 03/15] Update README.md --- Team 3 - Clothing Store/README.md | 169 +++++++++++++++++------------- 1 file changed, 99 insertions(+), 70 deletions(-) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index 88fdd06..e498fc2 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -1,71 +1,100 @@ # Buffer_2.0 -Buffer_2.0 repo to submit your projects to.Repository containing folder-wise code for all submissions to Buffer : A Project Series, conducted between April, 2021 - June, 2020. - -Each folder should contain a separate README to describe the files and project objective - - - -Introduction : -This system is basically concerned with the -reservation of railway tickets to the passengers. -In this we are discussing that how the reservation is -done with the feature of cancelling and waiting list. -In the project we are going to include entities like -Reservation -Cancellation -Display reserved and waiting list passengers - - - -OBJECTIVE OF THE PROJECT: - All the manual work should be converted into -computerized so that the load of employees should -decrease. - The data should be stored in computer rather than in -register manually. - Booking can be done by sitting at your home only, no -need to visit the booking counter - - -Data Structure : -Singly Linked List : -Linked List is a sequential collection of -nodes.Which is faster than array in terms of -deletion of nodes. It’s memory is dynamically -allocated in runtime. This saves time and -space. -Each node consists of four different data field : -#Name -#Age -#Registration Number -#Link to the next node - -Queue : -Queue is a data structure in which -insertion and deletion takes place from -the ends. It follows First In First Out -Principle. - Queue data structure is used here to -store the waiting list passengers. If anyone -cancels their ticket then that seat is -allocated to the first passenger in the -queue. - - -Learnings from this project : -We learnt to solve real life problems by using -data Structures -Actual implementation of data structures that -we have learnt -By using technology how we can save our - - -What’s next for the project : -We can optimise our time complexity -using some different data structure. -We can add features such as prioritising -on the basis of age or railway employees -and gender. -We can add feature of tatkal reservation. -We can provide this solution on online -portal. + +TOPIC : Clothing Store + + + +TEAM MEMBERS : + > Shwetali Jadhav (T.Y. IT) + > Sampada Nemade (T.Y. IT) + > Shravani Zope (T.Y. Comp) + + + +INTRODUCTION : +This program works as an offline clothing store. +We have enlisted various categories according to which a +customer can choose and buy products. + Features : + > Displaying categories of products + > Choosing a product + > Adding it to cart + > Option for removal of a product from cart before billing + > Billing (with GST) + > Exit + + + +OBJECTIVE OF THE PROJECT : +Enabling easy and efficient funtioning of an offline clothing +store reducing its dependency on manual work. The data i.e products +along with their details are stored in the system. +Products can be added or removed from the system as and when required. + + + +DATA STRUCTURE : +Initially, we tried using a nested structure which comprised of +ArrayLists within ArrayLists. But accessing products was tedious. +Hence we used HASHMAPS instead. + + HASHMAPS: + > Java HashMap class implements the Map interface which + allows us to store key and value pair, where keys should + be unique. + > It is easy to perform operations using the key index like + updation, deletion, etc. HashMap class is found in the java.util + package. + > HashMap in Java is like the legacy Hashtable class, but it is + not synchronized. + > It allows us to store the null elements as well, but there + should be only one null key. + > Java HashMap contains only unique keys. + > Java HashMap maintains no order. + +We also used ARRAYLISTS for storing the details of the products. + + ARRAYLISTS : + > Java ArrayList class uses a dynamic array for storing the + elements. + > It is like an array, but there is no size limit. We can add + or remove elements anytime. + > So, it is much more flexible than the traditional array. It + is found in the java.util package. + > The ArrayList in Java can have the duplicate elements also. + It implements the List interface so we can use all the methods + of List interface here. + > The ArrayList maintains the insertion order internally. + > Java ArrayList class is non synchronized. + +Classes used : + #Product + > gender + > category + > productType + > brand + > productPrice + > productName + > productSize + #Item + > size + > name + > price + + + +LEARNINGS FROM THIS PROJECT : +We had an experience working with real life like problem and +solving it using data structures and algorithms. +We used our theoretical knowledge of data structures and practically +implemented a use case. + + + +WHAT'S NEXT FOR THE PROJECT : +> We could enable profiles for owner and customer +> We could connect a database to keep check of stock +> We could maintain a database for registered users and their + purchases as well + + From 8d2745292ddbccab00931fc5c71324aa877bbfbc Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:38:43 +0530 Subject: [PATCH 04/15] Update README.md --- Team 3 - Clothing Store/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index e498fc2..1b16032 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -5,9 +5,9 @@ TOPIC : Clothing Store TEAM MEMBERS : - > Shwetali Jadhav (T.Y. IT) - > Sampada Nemade (T.Y. IT) - > Shravani Zope (T.Y. Comp) + Shwetali Jadhav (T.Y. IT) + Sampada Nemade (T.Y. IT) + Shravani Zope (T.Y. Comp) @@ -98,3 +98,6 @@ WHAT'S NEXT FOR THE PROJECT : purchases as well + + + From c3db7bd5849d0fef52833bac8f5ba08ee2284723 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:40:35 +0530 Subject: [PATCH 05/15] Update README.md --- Team 3 - Clothing Store/README.md | 40 +++++++++++++++---------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index 1b16032..e62ecb2 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -5,9 +5,9 @@ TOPIC : Clothing Store TEAM MEMBERS : - Shwetali Jadhav (T.Y. IT) - Sampada Nemade (T.Y. IT) - Shravani Zope (T.Y. Comp) + > Shwetali Jadhav (T.Y. IT), + > Sampada Nemade (T.Y. IT), + > Shravani Zope (T.Y. Comp) @@ -16,12 +16,12 @@ This program works as an offline clothing store. We have enlisted various categories according to which a customer can choose and buy products. Features : - > Displaying categories of products - > Choosing a product - > Adding it to cart - > Option for removal of a product from cart before billing - > Billing (with GST) - > Exit + > Displaying categories of products, + > Choosing a product, + > Adding it to cart, + > Option for removal of a product from cart before billing, + > Billing (with GST), + > Exit @@ -69,16 +69,16 @@ We also used ARRAYLISTS for storing the details of the products. Classes used : #Product - > gender - > category - > productType - > brand - > productPrice - > productName + > gender, + > category, + > productType, + > brand, + > productPrice, + > productName, > productSize #Item - > size - > name + > size, + > name, > price @@ -92,10 +92,10 @@ implemented a use case. WHAT'S NEXT FOR THE PROJECT : -> We could enable profiles for owner and customer -> We could connect a database to keep check of stock +> We could enable profiles for owner and customer. +> We could connect a database to keep check of stock. > We could maintain a database for registered users and their - purchases as well + purchases as well. From c1750e90d659ee18be741fe3b67c849b50c79bd7 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:43:58 +0530 Subject: [PATCH 06/15] Update Team Members --- Team 3 - Clothing Store/Team Members | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Team 3 - Clothing Store/Team Members b/Team 3 - Clothing Store/Team Members index 8b13789..f5f6c1c 100644 --- a/Team 3 - Clothing Store/Team Members +++ b/Team 3 - Clothing Store/Team Members @@ -1 +1,3 @@ - +Shwetali Jadhav (T.Y. IT) +Sampada Nemade (T.Y. IT) +Shravani Zope (T.Y. Comp) From aef7334884d2de6f0c5c5bdb3e4c5398b4efcd51 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:48:14 +0530 Subject: [PATCH 07/15] Add files via upload --- Team 3 - Clothing Store/Item.java | 13 + Team 3 - Clothing Store/Main.java | 130 ++++ Team 3 - Clothing Store/Product.java | 919 +++++++++++++++++++++++++++ 3 files changed, 1062 insertions(+) create mode 100644 Team 3 - Clothing Store/Item.java create mode 100644 Team 3 - Clothing Store/Main.java create mode 100644 Team 3 - Clothing Store/Product.java diff --git a/Team 3 - Clothing Store/Item.java b/Team 3 - Clothing Store/Item.java new file mode 100644 index 0000000..bdf368d --- /dev/null +++ b/Team 3 - Clothing Store/Item.java @@ -0,0 +1,13 @@ +package module; + +public class Item { + public String size; + public String name; + public float price; + + public Item(String name, String size, float price){ + this.name = name; + this.size = size; + this.price = price; + } +} diff --git a/Team 3 - Clothing Store/Main.java b/Team 3 - Clothing Store/Main.java new file mode 100644 index 0000000..193dad5 --- /dev/null +++ b/Team 3 - Clothing Store/Main.java @@ -0,0 +1,130 @@ +package testModule; +import java.util.*; +import module.Item; +import module.Product; + +public class Main { + public static void main(String[] args) { + // TODO Auto-generated method stub + int ch = 0; + int total = 0; + double amount = 0.0f; + + Scanner sc = new Scanner(System.in); + + ArrayList cart = new ArrayList(); + + do{ + System.out.println("\t------------What would you like to do?----------"); + System.out.println("\t 1. Continue Shopping"); + System.out.println("\t 2. Check Out"); + System.out.println("\t 3. Exit"); + System.out.println("\t------------------------------------------------"); + + Scanner s1 = new Scanner(System.in); + System.out.println("\t Enter your choice : "); + ch = s1.nextInt(); + + switch(ch){ + case 1 : + Product p = new Product(); + HashMap>>>> allProducts = p.createData(); + p = p.chooseProduct(allProducts); + //System.out.println("\t Product Chosen : "+p.productName+"("+p.brand+")"); + //System.out.println("\t Price : "+p.productPrice); + + System.out.println("\t Would you like to add product to cart? "); + System.out.println("\t 1. Yes"); + System.out.println("\t 2. No"); + System.out.println("\t"); + + System.out.println("\t Enter your choice : "); + int choice = sc.nextInt(); + + switch(choice){ + case 1 : + cart.add(p); + break; + + case 2 : + System.out.println("\t Check out other products!"); + break; + } + + if(cart.isEmpty() == false){ + System.out.println("\t Your cart contains :"); + System.out.println("\t"); + for(Product pr : cart){ + System.out.println("\t "+pr.brand+" "+pr.productName+"["+pr.productSize+"]"+"-"+pr.gender+" Rs."+pr.productPrice); + } + } + break; + + case 2 : + System.out.println("\t Your cart contains :"); + System.out.println("\t"); + for(Product pr : cart){ + System.out.println("\t "+pr.brand+" "+pr.productName+"["+pr.productSize+"]"+"-"+pr.gender+" Rs."+pr.productPrice); + } + + for(Product pr : cart){ + total += pr.productPrice; + } + + System.out.println("\t"); + System.out.println("\t Would you like to remove any product from the cart? "); + System.out.println("\t 1. Yes"); + System.out.println("\t 2. No"); + System.out.println("\t"); + + System.out.println("\t Enter your choice : "); + choice = sc.nextInt(); + + switch(choice){ + case 1 : + System.out.println("\t Your cart contains :"); + + int i = 0; + for(Product pro : cart){ + System.out.printf("\t %d. ", i+1); + System.out.print("\t "+pro.brand+" "+pro.productName+"["+pro.productSize+"]"+"-"+pro.gender+" Rs."+pro.productPrice); + System.out.println("\t"); + i++; + } + + System.out.println("\t Choose the product to be removed : "); + int ch1 = sc.nextInt(); + + for(int j = 0; j < cart.size(); j++){ + if(ch1 == j+1){ + float pr = cart.get(j).productPrice; + cart.remove(j); + total -= pr; + } + } + break; + + case 2 : + break; + } + + System.out.println("\t-------------------------Bill--------------------------------"); + System.out.println("\t Product details : "); + System.out.println("\t"); + for(Product pr : cart){ + System.out.println("\t "+pr.brand+" "+pr.productName+"["+pr.productSize+"]"+"-"+pr.gender+" Rs."+pr.productPrice); + } + System.out.println("\t"); + System.out.println("\t Total : "+total); + amount = total*(1.28); + System.out.println("\t Final Amount (with 28% tax) : "+amount); + System.out.println("\t-------------------------------------------------------------"); + break; + + case 3 : + System.out.println("\t Thank you for vising our store!"); + break; + } + }while(ch != 3); + } +} diff --git a/Team 3 - Clothing Store/Product.java b/Team 3 - Clothing Store/Product.java new file mode 100644 index 0000000..fb27122 --- /dev/null +++ b/Team 3 - Clothing Store/Product.java @@ -0,0 +1,919 @@ +package module; +import java.util.*; + +public class Product { + public String gender; + public String category; + public String productType; + public String brand; + public float productPrice; + public String productName; + public String productSize; + + public HashMap>>>> createData(){ + + //Sweaters + HashMap> sweaters = new HashMap>(); + + ArrayList hm = new ArrayList(); + Item i = new Item("Black Sweater","M",1495); + hm.add(i); + i = new Item("Teal Sweater","L",1499); + hm.add(i); + + + ArrayList f21 = new ArrayList(); + i = new Item("Orange Sweater","M",1100); + f21.add(i); + i = new Item("Yellow Sweater","M",1000); + f21.add(i); + + + ArrayList j21 = new ArrayList(); + i = new Item("Gray Sweater","L",800); + j21.add(i); + + sweaters.put("H&M", hm); + sweaters.put("Forever 21", f21); + sweaters.put("Jealous 21", j21); + + + //Hoodies + HashMap> hoodies = new HashMap>(); + + ArrayList puma = new ArrayList(); + i = new Item("Neon Hoodie","M",2500); + puma.add(i); + i = new Item("Crimson Hoodie","L",2350); + puma.add(i); + i = new Item("Red Hoodie","M",2400); + puma.add(i); + + + ArrayList nike = new ArrayList(); + i = new Item("Turqoise Hoodie","M",3200); + nike.add(i); + i = new Item("Ocean Green Hoodie","M",3100); + nike.add(i); + + hoodies.put("Puma", puma); + hoodies.put("Nike", nike); + + + //Club Sweaters and Hoodies into TopWear + HashMap>> topWear = new HashMap>>(); + topWear.put("Sweaters",sweaters); + topWear.put("Hoodies",hoodies); + + + //Chinos + HashMap> chinos = new HashMap>(); + + ArrayList lp = new ArrayList(); + i = new Item("Army Green Chinos","S",1300); + lp.add(i); + + ArrayList jj = new ArrayList(); + i = new Item("Brown Chinos","S",1400); + jj.add(i); + i = new Item("OffWhite Chinos","M",1500); + jj.add(i); + + chinos.put("Louis Philippe", lp); + chinos.put("Jack & Jones", jj); + + + //Formals + HashMap> formals = new HashMap>(); + + ArrayList pe = new ArrayList(); + i = new Item("Black Formal Trousers","M",1700); + pe.add(i); + i = new Item("Blue Formal Trousers","L",1750); + pe.add(i); + + + ArrayList ray = new ArrayList(); + i = new Item("Cream Formal Trousers","M",1800); + ray.add(i); + + formals.put("Peter England", pe); + formals.put("Raymond", ray); + + + //Club Chinos and Formals into BottomWear + HashMap>> bottomWear = new HashMap>>(); + bottomWear.put("Chinos",chinos); + bottomWear.put("Formals",formals); + + + //Tops + HashMap> tops = new HashMap>(); + + ArrayList zara = new ArrayList(); + i = new Item("Lilac Top","XS",1950); + zara.add(i); + i = new Item("Pink Floral Top","L",1800); + zara.add(i); + i = new Item("White Lace Top","M",1850); + zara.add(i); + + ArrayList gucci = new ArrayList(); + i = new Item("Black Off-Shoulder Top","S",5400); + gucci.add(i); + i = new Item("Brown Leather Top","S",5100); + gucci.add(i); + + ArrayList and = new ArrayList(); + i = new Item("Drop-Shoulder Lavender Top","M",1200); + and.add(i); + i = new Item("Turqoise Netted Top","S",1100); + and.add(i); + + tops.put("Zara", zara); + tops.put("Gucci", gucci); + tops.put("AND", and); + + + //T-shirts + HashMap> tees = new HashMap>(); + + ArrayList on = new ArrayList(); + i = new Item("Lilac Tee","S",600); + on.add(i); + i = new Item("Pink Floral Tee","XS",499); + on.add(i); + + + ArrayList ho = new ArrayList(); + i = new Item("Black Graphic Tee","S",300); + ho.add(i); + i = new Item("Teal Solid Tee","M",399); + ho.add(i); + + tees.put("ONLY", on); + tees.put("Honey", ho); + + + //Club Tops and T-shirts into F_Top + HashMap>> f_top = new HashMap>>(); + f_top.put("Tops",tops); + f_top.put("Tees",tees); + + //Shorts + HashMap> shorts = new HashMap>(); + + ArrayList v = new ArrayList(); + i = new Item("Denim Shorts","L",1200); + v.add(i); + i = new Item("White Cotton Shorts","M",1000); + v.add(i); + + ArrayList m = new ArrayList(); + i = new Item("Black Denim Shorts","S",1200); + m.add(i); + i = new Item("Blue Denim Shorts","S",1100); + m.add(i); + + shorts.put("Veromoda", v); + shorts.put("MANGO", m); + + + //Skirts + HashMap> skirts = new HashMap>(); + + ArrayList bi = new ArrayList(); + i = new Item("Red Long Skirt","M",1100); + bi.add(i); + i = new Item("Yellow Pleated Skirt","M",1200); + bi.add(i); + + ArrayList db = new ArrayList(); + i = new Item("Red Mini Skirt","S",700); + db.add(i); + i = new Item("Black Skirt","M",800); + db.add(i); + + skirts.put("Biba", bi); + skirts.put("DressBerry", db); + + + //Club Shorts and Skirts into F_Bottom + HashMap>> f_bottom = new HashMap>>(); + f_bottom.put("Shorts",shorts); + f_bottom.put("Skirts",skirts); + + + //Club TopWear and BottomWear into MensProduct + HashMap>>> mensProduct = new HashMap>>>(); + mensProduct.put("Top Wear",topWear); + mensProduct.put("Bottom Wear",bottomWear); + + //Club F_Top and F_Bottom into WomensProduct + HashMap>>> womensProduct = new HashMap>>>(); + womensProduct.put("Top Wear",f_top); + womensProduct.put("Bottom Wear",f_bottom); + + //Club MensProduct and F_WomenProduct into Product(Gender wise) + HashMap>>>> gen = new HashMap>>>>(); + gen.put("Men",mensProduct); + gen.put("Women",womensProduct); + return gen; + } + + public Product chooseProduct(HashMap>>>> gen){ + int i = 1; //iterator + String prod = " "; //temporary storage of productName + + System.out.println("\t ----------------Welcome To EmmaLove!----------------"); + System.out.println("\t"); + System.out.println("\t ---------------------Shop For-----------------------"); + System.out.println("\t 1. Men"); + System.out.println("\t 2. Women"); + System.out.println("\t 3. Exit"); + System.out.println("\t ----------------------------------------------------"); + + Scanner s1 = new Scanner(System.in); + System.out.println("\t Enter your choice : "); + int ch1 = s1.nextInt(); + + switch(ch1){ + case 1 : //set gender to Men + this.gender = "Men"; + + System.out.println("\t -------------------Choose Category------------------"); + for(String str : gen.get("Men").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + + System.out.println("\t Enter your choice : "); + int ch2 = s1.nextInt(); + + switch(ch2){ + case 1: //set category to TopWear + this.category = "Top Wear"; + + System.out.println("\t -----------------Pick Product Type------------------"); + i = 1; + for(String str : gen.get("Men").get("Top Wear").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch3 = s1.nextInt(); + + switch(ch3){ + case 1 : //set productType to Hoodies + this.productType = "Hoodies"; + + System.out.println("\t ------------------Choose the brand------------------"); + i = 1; + for(String str : gen.get("Men").get("Top Wear").get("Hoodies").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch4 = s1.nextInt(); + + switch(ch4){ + case 1 : //brand = Nike + this.brand = "Nike"; + + i = 0; + for(Item it : gen.get("Men").get("Top Wear").get("Hoodies").get("Nike")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch51 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch51-1) == i){ + Item it = gen.get("Men").get("Top Wear").get("Hoodies").get("Nike").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 2 : //brand = Puma + this.brand = "Puma"; + i = 0; + for(Item it : gen.get("Men").get("Top Wear").get("Hoodies").get("Puma")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch52 = s1.nextInt(); + + for(i = 0; i < 3; i++){ + if((ch52-1) == i){ + Item it = gen.get("Men").get("Top Wear").get("Hoodies").get("Puma").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + } + break; + + case 2 : //set productType to Sweaters + this.productType = "Sweaters"; + + System.out.println("\t ------------------Choose the brand------------------"); + i = 1; + for(String str : gen.get("Men").get("Top Wear").get("Sweaters").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch42 = s1.nextInt(); + + switch(ch42){ + case 1 : //brand = F21 + this.brand = "Forever 21"; + + i = 0; + for(Item it : gen.get("Men").get("Top Wear").get("Sweaters").get("Forever 21")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch53 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch53-1) == i){ + Item it = gen.get("Men").get("Top Wear").get("Sweaters").get("Forever 21").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 2 : //brand = J21 + this.brand = "Jealous 21"; + + i = 0; + for(Item it : gen.get("Men").get("Top Wear").get("Sweaters").get("Jealous 21")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch54 = s1.nextInt(); + + for(i = 0; i < 1; i++){ + if((ch54-1) == i){ + Item it = gen.get("Men").get("Top Wear").get("Sweaters").get("Jealous 21").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 3 : //brand = H&M + this.brand = "H&M"; + + i = 0; + for(Item it : gen.get("Men").get("Top Wear").get("Sweaters").get("H&M")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch55 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch55-1) == i){ + Item it = gen.get("Men").get("Top Wear").get("Sweaters").get("H&M").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + } + break; + } + break; + + case 2 : + this.category = "Bottom Wear"; + + System.out.println("\t -----------------Pick Product Type------------------"); + i = 1; + for(String str : gen.get("Men").get("Bottom Wear").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch32 = s1.nextInt(); + + switch(ch32){ + case 1 : //set productType to Chinos + this.productType = "Chinos"; + + System.out.println("\t ------------------Choose the brand------------------"); + i = 1; + for(String str : gen.get("Men").get("Bottom Wear").get("Chinos").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch43 = s1.nextInt(); + + switch(ch43){ + case 1 : //brand = J&J + this.brand = "Jack & Jones"; + + i = 0; + for(Item it : gen.get("Men").get("Bottom Wear").get("Chinos").get("Jack & Jones")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch56 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch56-1) == i){ + Item it = gen.get("Men").get("Bottom Wear").get("Chinos").get("Jack & Jones").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 2 : //brand = LP + this.brand = "Louis Philippe"; + + i = 0; + for(Item it : gen.get("Men").get("Bottom Wear").get("Chinos").get("Louis Philippe")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch57 = s1.nextInt(); + + for(i = 0; i < 1; i++){ + if((ch57-1) == i){ + Item it = gen.get("Men").get("Bottom Wear").get("Chinos").get("Louis Philippe").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + } + break; + + case 2 : //set productType to Formals + this.productType = "Formals"; + + System.out.println("\t ------------------Choose the brand------------------"); + i = 1; + for(String str : gen.get("Men").get("Bottom Wear").get("Formals").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch44 = s1.nextInt(); + + switch(ch44){ + case 1 : //brand = Raymond + this.brand = "Raymond"; + + i = 0; + for(Item it : gen.get("Men").get("Bottom Wear").get("Formals").get("Raymond")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch58 = s1.nextInt(); + + for(i = 0; i < 1; i++){ + if((ch58-1) == i){ + Item it = gen.get("Men").get("Bottom Wear").get("Formals").get("Raymond").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 2 : //brand = Peter England, price = 1700 + this.brand = "Peter England"; + + i = 0; + for(Item it : gen.get("Men").get("Bottom Wear").get("Formals").get("Peter England")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch59 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch59-1) == i){ + Item it = gen.get("Men").get("Bottom Wear").get("Formals").get("Peter England").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + } + break; + } + break; + } + + break; + + case 2 : // set gender to Women + this.gender = "Women"; + + System.out.println("\t -------------------Choose Category------------------"); + for(String str : gen.get("Women").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + + System.out.println("\t Enter your choice : "); + int ch22 = s1.nextInt(); + + switch(ch22){ + case 1: //set category to TopWear + this.category = "Top Wear"; + + System.out.println("\t -----------------Pick Product Type------------------"); + i = 1; + for(String str : gen.get("Women").get("Top Wear").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch33 = s1.nextInt(); + + switch(ch33){ + case 1 : //set productType to Tees + this.productType = "Tees"; + + System.out.println("\t ------------------Choose the brand------------------"); + i = 1; + for(String str : gen.get("Women").get("Top Wear").get("Tees").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch45 = s1.nextInt(); + + switch(ch45){ + case 1 : //brand = Honey + this.brand = "Honey"; + + i = 0; + for(Item it : gen.get("Women").get("Top Wear").get("Tees").get("Honey")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch510 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch510-1) == i){ + Item it = gen.get("Women").get("Top Wear").get("Tees").get("Honey").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 2 : //brand = ONLY + this.brand = "ONLY"; + + i = 0; + for(Item it : gen.get("Women").get("Top Wear").get("Tees").get("ONLY")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch511 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch511-1) == i){ + Item it = gen.get("Women").get("Top Wear").get("Tees").get("ONLY").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + } + break; + + case 2 : //set productType to Tops + this.productType = "Tops"; + + System.out.println("\t ------------------Choose the brand------------------"); + i = 1; + for(String str : gen.get("Women").get("Top Wear").get("Tops").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch46 = s1.nextInt(); + + switch(ch46){ + case 1 : //brand = Gucci + this.brand = "Gucci"; + + i = 0; + for(Item it : gen.get("Women").get("Top Wear").get("Tops").get("Gucci")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch512 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch512-1) == i){ + Item it = gen.get("Women").get("Top Wear").get("Tops").get("Gucci").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 2 : //brand = AND + this.brand = "AND"; + + i = 0; + for(Item it : gen.get("Women").get("Top Wear").get("Tops").get("AND")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch513 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch513-1) == i){ + Item it = gen.get("Women").get("Top Wear").get("Tops").get("AND").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 3 : //brand = Zara + this.brand = "Zara"; + + i = 0; + for(Item it : gen.get("Women").get("Top Wear").get("Tops").get("Zara")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch514 = s1.nextInt(); + + for(i = 0; i < 3; i++){ + if((ch514-1) == i){ + Item it = gen.get("Women").get("Top Wear").get("Tops").get("Zara").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + } + break; + } + + break; + + case 2 : + this.category = "Bottom Wear"; + + System.out.println("\t -----------------Pick Product Type------------------"); + i = 1; + for(String str : gen.get("Women").get("Bottom Wear").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch34 = s1.nextInt(); + + switch(ch34){ + case 1 : //set productType to Skirts + this.productType = "Skirts"; + + System.out.println("\t ------------------Choose the brand------------------"); + i = 1; + for(String str : gen.get("Women").get("Bottom Wear").get("Skirts").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch47 = s1.nextInt(); + + switch(ch47){ + + + case 1 : //brand = DressBerry + this.brand = "DressBerry"; + + i = 0; + for(Item it : gen.get("Women").get("Bottom Wear").get("Skirts").get("DressBerry")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch515 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch515-1) == i){ + Item it = gen.get("Women").get("Bottom Wear").get("Skirts").get("DressBerry").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 2 : //brand = Biba, price = 1200 + this.brand = "Biba"; + + i = 0; + for(Item it : gen.get("Women").get("Bottom Wear").get("Skirts").get("Biba")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch516 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch516-1) == i){ + Item it = gen.get("Women").get("Bottom Wear").get("Skirts").get("Biba").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + } + break; + + case 2 : //set productType to Shorts + this.productType = "Shorts"; + + System.out.println("\t ------------------Choose the brand------------------"); + i = 1; + for(String str : gen.get("Women").get("Bottom Wear").get("Shorts").keySet()){ + System.out.printf("\t %d. ", i); + System.out.print(str); + System.out.println("\t"); + i++; + } + System.out.println("\t ----------------------------------------------------"); + System.out.println("\t Enter your choice : "); + int ch48 = s1.nextInt(); + + switch(ch48){ + case 1 : //brand = Veromoda + this.brand = "Veromoda"; + + i = 0; + for(Item it : gen.get("Women").get("Bottom Wear").get("Shorts").get("Veromoda")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch517 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch517-1) == i){ + Item it = gen.get("Women").get("Bottom Wear").get("Shorts").get("Veromoda").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + + case 2 : //brand = MANGO + this.brand = "MANGO"; + + i = 0; + for(Item it : gen.get("Women").get("Bottom Wear").get("Shorts").get("MANGO")){ + System.out.printf("\t %d. ", i+1); + System.out.print(it.name+"["+it.size+"]"+" Rs."+it.price); + System.out.println("\t"); + i++; + } + System.out.println("\t Choose Product : "); + int ch518 = s1.nextInt(); + + for(i = 0; i < 2; i++){ + if((ch518-1) == i){ + Item it = gen.get("Women").get("Bottom Wear").get("Shorts").get("MANGO").get(i); + this.productName = it.name; + this.productPrice = it.price; + this.productSize = it.size; + } + } + break; + } + break; + + } + break; + } + + + break; + + case 3 : + System.out.println("\t Thank You!!! "); + break; + } + return this; + } +} From 79c8eece615aad5299376fad3386dd046ba54a71 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:53:33 +0530 Subject: [PATCH 08/15] Update README.md --- Team 3 - Clothing Store/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index e62ecb2..dc94da3 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -5,9 +5,9 @@ TOPIC : Clothing Store TEAM MEMBERS : - > Shwetali Jadhav (T.Y. IT), - > Sampada Nemade (T.Y. IT), - > Shravani Zope (T.Y. Comp) + 1. Shwetali Jadhav (T.Y. IT), + 2. Sampada Nemade (T.Y. IT), + 3. Shravani Zope (T.Y. Comp) From 2787d179f855d8c031af3c4885882016927b327c Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:54:06 +0530 Subject: [PATCH 09/15] Update README.md --- Team 3 - Clothing Store/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index dc94da3..0dc3aac 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -12,6 +12,7 @@ TEAM MEMBERS : INTRODUCTION : + This program works as an offline clothing store. We have enlisted various categories according to which a customer can choose and buy products. From d6d5efa8f3de4dae38def674af4410d71442b662 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:54:57 +0530 Subject: [PATCH 10/15] Update README.md --- Team 3 - Clothing Store/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index 0dc3aac..e4fdc30 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -17,12 +17,12 @@ This program works as an offline clothing store. We have enlisted various categories according to which a customer can choose and buy products. Features : - > Displaying categories of products, - > Choosing a product, - > Adding it to cart, - > Option for removal of a product from cart before billing, - > Billing (with GST), - > Exit + # Displaying categories of products, + # Choosing a product, + # Adding it to cart, + # Option for removal of a product from cart before billing, + # Billing (with GST), + # Exit From 3e9bd8fccc607245a2a18e98e268d675f90fdec5 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:56:24 +0530 Subject: [PATCH 11/15] Update README.md --- Team 3 - Clothing Store/README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index e4fdc30..9efde80 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -1,32 +1,32 @@ # Buffer_2.0 -TOPIC : Clothing Store +#TOPIC : Clothing Store -TEAM MEMBERS : +#TEAM MEMBERS : 1. Shwetali Jadhav (T.Y. IT), 2. Sampada Nemade (T.Y. IT), 3. Shravani Zope (T.Y. Comp) -INTRODUCTION : +#INTRODUCTION : This program works as an offline clothing store. We have enlisted various categories according to which a customer can choose and buy products. Features : - # Displaying categories of products, - # Choosing a product, - # Adding it to cart, - # Option for removal of a product from cart before billing, - # Billing (with GST), - # Exit + * Displaying categories of products, + * Choosing a product, + * Adding it to cart, + * Option for removal of a product from cart before billing, + * Billing (with GST), + * Exit -OBJECTIVE OF THE PROJECT : +#OBJECTIVE OF THE PROJECT : Enabling easy and efficient funtioning of an offline clothing store reducing its dependency on manual work. The data i.e products along with their details are stored in the system. @@ -34,7 +34,7 @@ Products can be added or removed from the system as and when required. -DATA STRUCTURE : +#DATA STRUCTURE : Initially, we tried using a nested structure which comprised of ArrayLists within ArrayLists. But accessing products was tedious. Hence we used HASHMAPS instead. @@ -84,7 +84,7 @@ Classes used : -LEARNINGS FROM THIS PROJECT : +#LEARNINGS FROM THIS PROJECT : We had an experience working with real life like problem and solving it using data structures and algorithms. We used our theoretical knowledge of data structures and practically @@ -92,7 +92,7 @@ implemented a use case. -WHAT'S NEXT FOR THE PROJECT : +#WHAT'S NEXT FOR THE PROJECT : > We could enable profiles for owner and customer. > We could connect a database to keep check of stock. > We could maintain a database for registered users and their From 9056b28172c708e74f717ebf0e9875d43b2cad91 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:57:39 +0530 Subject: [PATCH 12/15] Update README.md --- Team 3 - Clothing Store/README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index 9efde80..8ba3197 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -1,17 +1,17 @@ # Buffer_2.0 -#TOPIC : Clothing Store +TOPIC : Clothing Store -#TEAM MEMBERS : +TEAM MEMBERS : 1. Shwetali Jadhav (T.Y. IT), 2. Sampada Nemade (T.Y. IT), 3. Shravani Zope (T.Y. Comp) -#INTRODUCTION : +INTRODUCTION : This program works as an offline clothing store. We have enlisted various categories according to which a @@ -26,7 +26,8 @@ customer can choose and buy products. -#OBJECTIVE OF THE PROJECT : +OBJECTIVE OF THE PROJECT : + Enabling easy and efficient funtioning of an offline clothing store reducing its dependency on manual work. The data i.e products along with their details are stored in the system. @@ -34,7 +35,8 @@ Products can be added or removed from the system as and when required. -#DATA STRUCTURE : +DATA STRUCTURE : + Initially, we tried using a nested structure which comprised of ArrayLists within ArrayLists. But accessing products was tedious. Hence we used HASHMAPS instead. @@ -84,7 +86,8 @@ Classes used : -#LEARNINGS FROM THIS PROJECT : +LEARNINGS FROM THIS PROJECT : + We had an experience working with real life like problem and solving it using data structures and algorithms. We used our theoretical knowledge of data structures and practically @@ -92,7 +95,8 @@ implemented a use case. -#WHAT'S NEXT FOR THE PROJECT : +WHAT'S NEXT FOR THE PROJECT : + > We could enable profiles for owner and customer. > We could connect a database to keep check of stock. > We could maintain a database for registered users and their From af686ab70d881847abe61fa703e72df159c30039 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:58:16 +0530 Subject: [PATCH 13/15] Update README.md --- Team 3 - Clothing Store/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index 8ba3197..29f5fb9 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -71,6 +71,7 @@ We also used ARRAYLISTS for storing the details of the products. > Java ArrayList class is non synchronized. Classes used : + #Product > gender, > category, From 3ae53d5acb82ac55ab903d7da199d85d735d8717 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:59:58 +0530 Subject: [PATCH 14/15] Update README.md --- Team 3 - Clothing Store/README.md | 50 +++++++++++++++---------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index 29f5fb9..f609242 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -42,48 +42,48 @@ ArrayLists within ArrayLists. But accessing products was tedious. Hence we used HASHMAPS instead. HASHMAPS: - > Java HashMap class implements the Map interface which + * Java HashMap class implements the Map interface which allows us to store key and value pair, where keys should be unique. - > It is easy to perform operations using the key index like + * It is easy to perform operations using the key index like updation, deletion, etc. HashMap class is found in the java.util package. - > HashMap in Java is like the legacy Hashtable class, but it is + * HashMap in Java is like the legacy Hashtable class, but it is not synchronized. - > It allows us to store the null elements as well, but there + * It allows us to store the null elements as well, but there should be only one null key. - > Java HashMap contains only unique keys. - > Java HashMap maintains no order. + * Java HashMap contains only unique keys. + * Java HashMap maintains no order. We also used ARRAYLISTS for storing the details of the products. ARRAYLISTS : - > Java ArrayList class uses a dynamic array for storing the + * Java ArrayList class uses a dynamic array for storing the elements. - > It is like an array, but there is no size limit. We can add + * It is like an array, but there is no size limit. We can add or remove elements anytime. - > So, it is much more flexible than the traditional array. It + * So, it is much more flexible than the traditional array. It is found in the java.util package. - > The ArrayList in Java can have the duplicate elements also. + * The ArrayList in Java can have the duplicate elements also. It implements the List interface so we can use all the methods of List interface here. - > The ArrayList maintains the insertion order internally. - > Java ArrayList class is non synchronized. + * The ArrayList maintains the insertion order internally. + * Java ArrayList class is non synchronized. Classes used : #Product - > gender, - > category, - > productType, - > brand, - > productPrice, - > productName, - > productSize + * gender, + * category, + * productType, + * brand, + * productPrice, + * productName, + * productSize #Item - > size, - > name, - > price + * size, + * name, + * price @@ -98,9 +98,9 @@ implemented a use case. WHAT'S NEXT FOR THE PROJECT : -> We could enable profiles for owner and customer. -> We could connect a database to keep check of stock. -> We could maintain a database for registered users and their +* We could enable profiles for owner and customer. +* We could connect a database to keep check of stock. +* We could maintain a database for registered users and their purchases as well. From bb638d3430f0d6d62d07639c83e9ad2dc0c49072 Mon Sep 17 00:00:00 2001 From: Shwetali Jadhav <70590311+Shwetali2425@users.noreply.github.com> Date: Mon, 7 Jun 2021 01:00:28 +0530 Subject: [PATCH 15/15] Update README.md --- Team 3 - Clothing Store/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Team 3 - Clothing Store/README.md b/Team 3 - Clothing Store/README.md index f609242..54eba18 100644 --- a/Team 3 - Clothing Store/README.md +++ b/Team 3 - Clothing Store/README.md @@ -80,6 +80,7 @@ Classes used : * productPrice, * productName, * productSize + #Item * size, * name,