Your Algorithm Will Keep Track Of A Customer’s Purchases At The Local Fireworks Stand.?

Customers will not know exactly how many items they will purchase, so using a for-loop on this lab is not allowed. Let’s keep the rules simple.
Accept the dollar value of each item purchased from the user until the user is finished.
When purchases are complete, enter a sentinel value of -1 (indicating the user has finished).
If the item purchased is $50.00 or more, give your customer a 10% discount on the item purchased.
Display all of the purchases to the customer with the original price and the discount price.
Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing.

Both comments and pings are currently closed.

Comments are closed.

Powered by WordPress | Designed by: free css template | Thanks to hostgator coupon and web hosting reviews