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 20:00
What is the term for water wave that is created by an underwater earthquake
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
In cell h5 enter a formula that will calculate the percentage of attendees that went to the altamonte springs job fair in 2018.
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
Questions on the website: 13722367