The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 2 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Hello Again,
Â
I need help finishing this homework. Can you please help.
I ask that you list the Declared Variable at the begging, that's how they wanted. I've attached the instructions and what the program should look like.
Â
Thank you1 Programming Assignment #4 – ISM 3230 Summer 2017 SAMPLE PROGRAM OUTPUT - BONUS Because there are several different things your program might do depending upon what the user enters, please refer to the examples below to use to test your program. Run your final program one time for each scenario to make sure that you get the expected output. Be sure to format the output of your program so that it follows what is included in the examples. Remember, in all examples bold items are entered by the user when the program runs (and therefore can change each time the program runs). Scenario 1: Customer purchases one quantity of multiple items Please enter your name: Lisa Miller GOOD EATS MENU 1. Salad $4.95 2. Soup $3.95 3. Chips and Salsa $3.49 4. Baked potato $3.95 5. Turkey sandwich $8.95 6. Cheeseburger $9.95 7. Soda $1.50 8. Bottled water $1.50 9. Key lime pie $2.99 10. Complete my order Please select an item from the menu above: 5 1 do NOT print to the console Please select another item from the menu above: 2 1 do NOT print to the console Please select another item from the menu above: 7 1 do NOT print to the console Please select another item from the menu above: 9 1 do NOT print to the console Please select another item from the menu above: 3 1 do NOT print to the console Please select another item from the menu above: 4 1 do NOT print to the console Please select another item from the menu above: 6 1 do NOT print to the console Please select another item from the menu above: 1 1 do NOT print to the console Please select another item from the menu above: 8 1 do NOT print to the console Please select another item from the menu above: 10 Thank you for ordering with Good Eats, Lisa Miller Total items ordered: 9 Price of food ordered: $41.23 Sales tax: $ 2.67995 Total amount due: $ 43.909949999999995 2 Scenario 2: Customer purchases 1 quantity of 1 item Please enter your name: John Smith GOOD EATS MENU 1. Salad $4.95 2. Soup $3.95 3. Chips and Salsa $3.49 4. Baked potato $3.95 5. Turkey sandwich $8.95 6. Cheeseburger $9.95 7. Soda $1.50 8. Bottled water $1.50 9. Key lime pie $2.99 10. Complete my order Please select an item from the menu above: 1 1 do NOT print to the console Please select another item from the menu above: 10 Thank you for ordering with Good Eats, John Smith Total items ordered: 1 Price of food ordered: $4.95 Sales tax: $ 0.32175000000000004 Total amount due: $ 5.27175 Scenario 3: Customer purchases 5 quantity of 1 item Please enter your name: Sally GOOD EATS MENU 1. Salad $4.95 2. Soup $3.95 3. Chips and Salsa $3.49 4. Baked potato $3.95 5. Turkey sandwich $8.95 6. Cheeseburger $9.95 7. Soda $1.50 8. Bottled water $1.50 9. Key lime pie $2.99 10. Complete my order Please select an item from the menu above: 1 5 do NOT print to the console Please select another item from the menu above: 10 Thank you for ordering with Good Eats, Sally Total items ordered: 5 Price of food ordered: $24.75 Sales tax: $ 1.6087500000000001 Total amount due: $ 26.35875 3 Scenario 4: Customer purchases multiple quantities of all items Please enter your name: Sam GOOD EATS MENU 1. Salad $4.95 2. Soup $3.95 3. Chips and Salsa $3.49 4. Baked potato $3.95 5. Turkey sandwich $8.95 6. Cheeseburger $9.95 7. Soda $1.50 8. Bottled water $1.50 9. Key lime pie $2.99 10. Complete my order Please select an item from the menu above: 5 2 do NOT print to the console Please select another item from the menu above: 2 3 do NOT print to the console Please select another item from the menu above: 7 5 do NOT print to the console Please select another item from the menu above: 9 4 do NOT print to the console Please select another item from the menu above: 3 2 do NOT print to the console Please select another item from the menu above: 4 2 do NOT print to the console Please select another item from the menu above: 6 3 do NOT print to the console Please select another item from the menu above: 1 6 do NOT print to the console Please select another item from the menu above: 8 4 do NOT print to the console Please select another item from the menu above: 10 Thank you for ordering with Good Eats, Sam Total items ordered: 31 Price of food ordered: $129.64 Sales tax: $ 8.426599999999999 Total amount due: $ 138.0666 4 Scenario 5: Customer purchases 0 items: Please enter your name: David GOOD EATS MENU 1. Salad $4.95 2. Soup $3.95 3. Chips and Salsa $3.49 4. Baked potato $3.95 5. Turkey sandwich $8.95 6. Cheeseburger $9.95 7. Soda $1.50 8. Bottled water $1.50 9. Key lime pie $2.99 10. Complete my order Please select an item from the menu above: 10 Thank you for ordering with Good Eats, David Total items ordered: 0 Price of food ordered: $0.0 Sales tax: $ 0.0 Total amount due: $ 0.0
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly