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, 21.06.2019 18:10
For each of the following claims, determine whether they are true or false. justify your determination (show your work). if the claim is false, state the correct asymptotic relationship as o, θ, or ω. unless otherwise specified, lg is log2.(a) (b) (c) (d) (e) (f) (g) (h) (i) (j)n+1 =22n =2n =1 =ln2 n =n2 +2n−4 =33n = 2n+1 =√n = 10100 =o(n4) o(2n)θ(2n+7 ) o(1/n)θ(lg2 n) ω(n2 )θ(9n ) θ(2n lg n )o(lg n) θ(1)
Answers: 1
question
Computers and Technology, 22.06.2019 15:10
Consider a direct-mapped cache with 216 words in main memory. the cache has 16 blocks of 8 words each. it is a word-addressable computer (rather than a byte-addressable computer which we normally discuss). (a) how many blocks of main memory are there? (b) what is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, cache block, and block offset fields (if they apply)? (c) to which cache block will the memory reference db6316 map?
Answers: 1
question
Computers and Technology, 22.06.2019 15:50
The file sales data.xlsx contains monthly sales amounts for 40 sales regions. write a sub that uses a for loop to color the interior of every other row (rows 3, 5, etc.) gray. color only the data area, columns a to m. (check the file colors in excel.xlsm to find a nice color of gray.)
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
These factors limit the ability to attach files to e-mail messages. location of sender recipient's ability to open file size of file type of operating system used
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
question
Mathematics, 22.10.2019 22:30
Questions on the website: 13722361