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 21:00
Write a method so that the main() code below can be replaced by the simpler code that calls method original main(): public class calcmiles { public static void main(string [] args) { double milesperhour; double minutestraveled; double hourstraveled; double milestraveled; milesprhour = scnr.nextdouble(); minutestraveled = scnr.nextdouble(); hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; system.out.println("miles: " + milestraveled); } }
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
True or false technology is often discovered by accident
Answers: 2
question
Computers and Technology, 25.06.2019 16:30
The diagram gives descriptions of three jobs in the energy career cluster. the middle circle is a characteristic that is common to all three careers.
Answers: 1
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
question
Biology, 24.07.2019 23:30
question
Mathematics, 24.07.2019 23:30
Questions on the website: 13722367