17.08.2015 Views

CIS 115 Week 6 Lab Fireworks Stand Checkout.pdf

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>CIS</strong> <strong>115</strong> <strong>Week</strong> 6 <strong>Lab</strong> <strong>Fireworks</strong> <strong>Stand</strong> <strong>Checkout</strong> (Devry)Click Here To Buy The Tutorialhttp://www.uophelp.com/<strong>CIS</strong>-<strong>115</strong>-(Devry)/product-9000-<strong>CIS</strong>-<strong>115</strong>-<strong>Week</strong>-6-<strong>Lab</strong>-<strong>Fireworks</strong>-<strong>Stand</strong>-<strong>Checkout</strong>-(Devry)For more course tutorials visitwww.uophelp.comYour algorithm will keep track of a customer’s purchases at the local fireworks stand. Customerswill not know exactly how many items they will purchase, so using a for-loop on this lab is notallowed. Let’s keep the rules simple.Accept the dollar value of each item purchased from the user until the user is finished. Whenpurchases are complete, enter a sentinel value of -1 (Make certain you do not include the -1sentinel value in your total). Keep track of the total dollar amount of all fireworks purchased.Keep a tally of the number of items purchased. If more than 20 items were purchased, give yourcustomer a 10% discount on the total purchases. Once purchases are complete, display the totalnumber of items purchased, the average price of the items, the total of all fireworks purchased,any discount if applicable, and the total of all fireworks purchased minus the discount.Be sure to THINK about the logic and design first (IPO chart and/or pseudocode), then code theVisual Logic command line processing.Deliverables Firework <strong>Stand</strong> <strong>Checkout</strong> IPO Model Firework <strong>Stand</strong> <strong>Checkout</strong> PseudocodeFirework <strong>Stand</strong> <strong>Checkout</strong> Flowchart Firework <strong>Stand</strong> <strong>Checkout</strong> Output Sample

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!