subject

Write a program to ask a user to enter item they want to buy and the price of that item. Every time user enters money, accumulate the amount and tell the user how much is left to pay off. If user give more money program should return a change. Whenever a user done with payments program should say "Thank you for shopping!"

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 23:40
Which slide should you change so it reflects om all sides of your presentation
Answers: 1
question
Computers and Technology, 25.06.2019 09:00
(environmental science semester 1) which statement best describes the limits of science? a. science cannot answer any abstract questions. b. when used properly, science can answer any questions. c. usually science can answer only mathematical questions. d. science cannot answer religious questions.
Answers: 2
question
Computers and Technology, 25.06.2019 11:30
How do you put a picture with your question? i need to put a picture with my question
Answers: 1
question
Computers and Technology, 25.06.2019 15:10
Write a program to compute the ideal weight for both males and females in java. according to one study, the ideal weight for a female is 100 pounds plus 5 pounds for each inch in height over 5 feet. for example, the ideal weight for a female who is 5'3" would be 100 + 3*5 = 115 pounds. for a male, the ideal weight is 106 pounds plus 6 pounds for each inch in height over 5 feet. for example, the ideal weight for a male who is 5'3" would be 106 + 3*6 = 124 pounds. your program should ask the user to enter his/her height in feet and inches (both as integers—so a person 5'3" would enter the 5 and the 3). it should then compute and print both the ideal weight for a female and the ideal weight for a male. the general outline of your main function would be as follows: (1) declare your variables (think about what variables you need—you need to input two pieces of information, then you need some variables for your calculations (see the following steps) (2) get the input (height in feet and inches) from the user (3) compute the total number of inches of height (convert feet and inches to total inches (note: 1 foot equal 12 inches and hence 5 feet equal 60 inches. (4) compute the ideal weight for a female and the ideal weight for a male (5) print the answers.
Answers: 2
You know the right answer?
Write a program to ask a user to enter item they want to buy and the price of that item. Every time...
Questions
question
Mathematics, 12.08.2021 22:30
question
English, 12.08.2021 22:40
question
Social Studies, 12.08.2021 22:40
question
Mathematics, 12.08.2021 22:40
question
Mathematics, 12.08.2021 22:40
Questions on the website: 13722359