More complex problem, develop a complete solution

Assignment Help Basic Computer Science
Reference no: EM13919766

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

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.

Reference no: EM13919766

Questions Cloud

What is the equivalent rate with semiannual compounding : An interest rate is 11.75% per annum expressed with continuous compounding. What is the equivalent rate with semiannual compounding? (margin of error: +/- 0.01%)
Sexually assaulting the victim : A 12-year-old boy was caught in the act of sexually assaulting a 14-year-old female acquaintance by the victim's 16-year-old brother, who had arrived home and observed the juveniles in the act. The 12-year-old juvenile suspect, in addition to sexu..
Market-derived real estate capitalization rates : What effect, if any, might an increase in the rate of return prospects in the stock or bond markets have on market-derived real estate capitalization rates? Can you think of circumstances that might cause a property’s market value to decline faster t..
How the market would set the yield to maturity : Blue Crab, Inc. plans to issue new bonds, but is uncertain how the market would set the yield to maturity. The bonds would be 29-year to maturity, carry a 8.02 percent annual coupon, and have a $1,000 par value. Blue Crab, Inc. has determined that th..
More complex problem, develop a complete solution : 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.
When a doctor proposes a new surgical procedure : When a doctor proposes a new surgical procedure, how do you recommend the SKU for a new custom pack be entered into the hospital's supply-chain system?
Two WACC components-Debt and Equity : Assume that Marriott uses only two WACC components – Debt and Equity (common stock). Calculate the WACC for each of the three Marriott divisions (lodging, contract services, and restaurants). Be sure to document and explain the reasons for any assump..
Find the fourier transform : Find the Fourier transform X(eiω) of x[n]. Find the N-point DFT X [k] of the finite-length sequence x[n). Find the DFT of x[n] for the case ω0 = 2πk0/N, where k0 is an integer
Describe the organization current hiring needs : Evaluate the cultural issues that need to be addressed. Analyze the ethical considerations that apply. Describe the organization's current hiring needs and projected hiring needs for the coming year. Develop a recruitment plan for fulfilling the comp..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Define a lan-to-wan, internet, and web surfing

Richman Investments requires the enforcement of strict ingress-egress filtering policies for network traffic. Certain traffic is expressly forbidden:

  Develop leftmost and rightmost derivations

Develop leftmost and rightmost derivations respectively for the Identifier value S6T, using the following BNF syntax:

  Find some articles or research on project management

Do the same for key points that make project management easier for an Agile project.

  Computing days take for fine to reach d dollars

In the recent court case, a judge cited the city for contempt and ordered fine of $2 for first day. Each subsequent day, till the city followed judge's order, fine was squared.

  Benefits and three negative effects workplace automation

Write at least three benefits and three negative effects brought about by workplace automation. Multinational corporation transfers a foreign employee to the United States on an L-1 visa.

  Symmetric encryption scheme

Symmetric encryption scheme

  What would be the best choice of the degree

A B+ - tree index is to be built on the name attribute of the relation student. Assume that all the student names are o length 8bytes, disk blocks are of size 512 bytes , and index pointer are of size 4bytes. Given this scenariom, what would be th..

  Threat vulnerability, and exploits assessment practices

There are multiple ways to bring threats and vulnerabilities to light. Common practices and lessons learned can help us explore for known or common threats, but how does an organization with a unique or highly unusual setup discover its vulnera..

  Create a script that presents a movie guessing game

create a script that presents a Movie guessing game. Allow the users to guess the best picture award from last year. Allow them to guess the word letter-by-letter by entering a character in a form.

  Give the java statement needed

How do you specify that the color orange will be used as fill when using the Graphics class? Give the Java statement needed.

  Explaining anticybersquatting consumer protection act

What does Anticybersquatting Consumer Protection Act perform? How does this act cut down on nuisance suits?

  How many frames are destroyed

In a Standard Ethernet LAN, the average size of a frame is 1000 bytes. If a noise of 2 ms occurs on the LAN, how many frames are destroyed? Also repeat this problem with Gigabit Ethernet LAN.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd