Answered step by step
Verified Expert Solution
Question
1 Approved Answer
flowcahart help 1. A business (the user) allows a client to order Four different products: a) Widgets a $10.50 each b) Gadgets a $12.75 each
flowcahart help
1. A business (the user) allows a client to order Four different products: a) Widgets a $10.50 each b) Gadgets a $12.75 each c) Gidgets @ $7.50 each d) Thingees @ S5.50 each 2. The user must manually input the quantity ordered a) Customer ID number b) The user may order 1 or more of the four different products (e.g. 4 Widgets, 5 Gadgets, 1 Thingee OR only 3 Gidgets). We will need four quantities representing the four products The only valid values are whole, positive numbers including zero (they may not want one or more product types e.g. 0 Gadgets). You cannot order a fractional item such as ".4 Gidgets" c) d) You may have to add logic for error checking (e.g. for negative quantities, zero is a valid value) 3. Subtotal each product ordered (e.g. 5 Widgets @ $10.50 $52.50 or 1 Gidget S7.50- 4. 5. 6, 7. S7.50) Compute the Order Total of all four possible subtotals Compute the Shipping and Handling charge of 10% (e.g. 0.1) based on the Order Total Compute a Sales tax of 8.75% based on the Order Total Display the following a) The subtotal for each positive value quantity ordered (e.g. if you ordered 0 Widgets that should not appear on the display) b) Display the Order Total c) Display the Shipping and Handling Charge d) Display the Sale Tax e) Display the Grand Total (what intermediate calculations compose this?) 8. Ask the user if they wish to input another order a) Yes - calculate another customer order b) No - end program
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started