subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
You know the right answer?
This program has some errors in it that are needed to be checked import java. io.*; public class We...
Questions
Questions on the website: 13722362