Question Details

(solution) Your algorithm will keep track of a customer's purchases at the


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 that 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, pseudocode, and flowchart), then code the C# program.

Please follow all the directions in the attachment and include a separate zip file of the completed project.



Name:_________________ Week 5 iLab? Fireworks Stand Checkout

 

TCO 5?Given a simple problem that requires iteration, create a solution algorithm that

 

employs loops.

 

TCO 8?Given a more complex problem, develop a complete solution that includes a

 

comprehensive statement of the problem, complete program design, and program

 

documentation.

 

Scenario

 

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 that 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, pseudocode, and flowchart), then

 

code the C# program. Rubric

 

Point distribution for this activity:

 

Lab Activity

 

Document Points possible Points received Variable list & IPO chart 10 Flowchart 15 Working program 25 Total Points 50 1?Variable List With Data Type & IPO Table

 

List all variables you will use (use valid variable names). Indicate whether the data type is

 

string, integer, or double, and so on.

 

List the inputs, any processes/calculations, and outputs. Use the same valid variable names

 

you used in Step 1.

 

Inputs Process (calculations) Outputs 3?Flowchart

 

Use MS Visio to create a flowchart. Paste the flowchart here, or attach it as a separate

 

document. Use the same valid variable names you used in Step 1. 5?C# Code

 

Screenshot of Running Program

 

Zipped Project File (submitted to Dropbox) Copy/paste your C# code here. Paste a screenshot(s) of the complete working program here. Use test scenarios to

 

test all possible paths of execution. Submit a separate zipped file to the Dropbox containing the complete project

 

folder.

 


Solution details:

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
SiteLock

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Sep 13, 2020

EXPERT

Tutor

ANSWER RATING

GET INSTANT HELP/h4>

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

NEW ASSIGNMENT HELP?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.

Order Now