This program has some errors in it that are needed to be checked import java.io.*;
public class Westside
{
public static void main(String args[])throws IOException
{
double cost=0;
double s=100.0;
int n=100;
int z=0;
double disc=0;
String name[]=new String[n];
double price[]=new double[n];
{
double Billamt=0;
String st;
InputStreamReader read= new InputStreamReader(System.in); BufferedReader in= new BufferedReader(read);
while (true)
{
System.out.println("***********************************************"); System.out.println("*************WELCOME TO WESTSIDE*************** !!!"); System.out.println("***********************************************"); System.out.println(" The Clothing where all your needs for clothes and a little bit of accessories are fulfilled");
System.out.println(" If you are in the mood for shopping... YOU ARE IN THE RIGHT PLACE!"); Westside obj=new Westside(); do { System.out.println(" We allow customers to shop conveniently and provide them a wide variety of choices to choose from"); System.out.println("The choices are \n 1. Women's Wear"); System.out.println("2.Men's Wear \n 3. Surprise Section! \n 4.Kids Wear \n 5. Accessories"); System.out.println("and 6. Shoes"); System.out.println("Enter your choice"); int c=Integer.parseInt(std.readLine()); switch (c) { case 1: obj. Women(); break; case 2: obj. Men(); break; case 3: obj. Surprise(); break; case 4: obj. Kids(); break; case 5: obj. Accessories(); break; case 6: obj. Shoes(); break; default: System.out.println("Please check your Input"); } System.out.println("Please type 'stop' if you want to stop"); System.out.println("Type anything else if you want to continue shopping."); st=std.in.readLine(); while(!(st.equalsIgnoreCase("stop"))); System.out.println("Your Bill:"); System.out.println("Sl.no \t Item Name \t \t \t \t Cost of the Item"); for(int i=0;i