Week 5 iLab� Fireworks Stand Checkout

A programming assignment for an iLab project, implementing a checkout system for a fireworks stand.

Benjamin Fisher
Contributor
4.2
46
10 months ago
Preview (3 of 8 Pages)
100%
Log in to unlock

Page 1

Week 5 iLab� Fireworks Stand Checkout - Page 1 preview image

Loading page ...

Name:_________________Week5iLabFireworks Stand CheckoutDevelop a C# program for a fireworks stand checkout system. The program should accept item pricesfrom the user, apply a 10% discount to items priced at $50 or more, and display the original anddiscounted prices for each item. Additionally, calculate and display the total price and total discountafter all purchases.Provide a variable list, IPO chart, flowchart, and the full working C# code. The code should bedocumented with comments, and the response should be between500 and 700 words.

Page 2

Week 5 iLab� Fireworks Stand Checkout - Page 2 preview image

Loading page ...

Page 3

Week 5 iLab� Fireworks Stand Checkout - Page 3 preview image

Loading page ...

TCO 5Given a simple problem that requires iteration, create a solution algorithm that employsloops.TCO8Givena more complex problem, develop a complete solution that includes a comprehensivestatement of the problem, complete program design, and program documentation.ScenarioYour 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 aForloop 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.When purchases are complete, enter a sentinel value of-1 (indicatingthatthe user hasfinished).If the item purchased is $50.00 or more, give your customer a 10% discount on the itempurchased.Display all of the purchases to the customer with the original price and the discount price.Be sure tothinkabout the logic and design first (IPO chart,pseudocode,and flowchart), thencode theC#program.
Preview Mode

This document has 8 pages. Sign in to access the full document!