Computers and Technology

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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:30, bri2728
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most? a)give the file a unique name b)name the file in yymmdd format c)use descriptive name while naming the files d)use capital letters while naming the file
Answers: 3
image
Computers and Technology, 23.06.2019 23:30, yasarhan2
Match the following errors with their definitions. a. #name b. #value c. #ref d. 1. when a formula produces output that is too lengthy to fit in the spreadsheet cell 2. when you enter an invalid cell reference in a formula 3. when you type text in cells that accept numeric data 4. when you type in a cell reference that doesn’t exist
Answers: 1
image
Computers and Technology, 24.06.2019 02:10, ttangelique
Which sentences describe the things you need to ensure while creating a sketch and a drawing? while an artistic or creative drawing is a creative expression, a technical drawing is an informative expression. you need to create accurate and neat drawings to convey accurate information. a technical drawing clearly conveys its meaning or information, and does not leave room for interpretation maintain a good speed while creating drawings
Answers: 1
image
Computers and Technology, 24.06.2019 10:20, savyblue1724707
Identify the publisher in this citation: carter, alan. a guide to entrepreneurship. new york: river’2008.print.
Answers: 3
Do you know the correct answer?
This program has some errors in it that are needed to be checked import java. io.*; public class We...

Questions in other subjects:

Konu
Mathematics, 06.01.2021 09:50