Display all of the purchases to the customer

Assignment Help Computer Engineering
Reference no: EM132125694

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.

Reference no: EM132125694

Questions Cloud

Write a program which loads the data into your program : Consider the following situation. You are to write a program which loads the data into your program.
Create appropriate id columns : Use linking columns to represent relationships. Demonstrate that the modification problems you identified in part E have been eliminated.
How many pictures could you put on the hard disk : Approximately how many pictures could you put on the hard disk, assuming you could use all the space on the disk for your pictures?
What would you would need to do to validate : What would you would need to do to validate that an IP address is valid, and why it is difficult?
Display all of the purchases to the customer : Accept the dollar value of each item purchased from the user until the user is finished.
Determine the acreage : Write a program that will: Ask the user to input Side A (base) and Side B (height) of a triangular lot Determine the acreage
Re-format the given resume and cover letter : Please recheck my grammar, spelling and re-format my resume by means of professional wording and as well my cover letter to
Define a third class which can be the superclass : Car: fuel capacity, serial number, passenger capacity, net weight, license plate Boat: fuel capacity, serial number, passenger capacity, net weight, draft
Reflect the proposed process specification : You are a process consultant for Pit Power. Model the process captured in the proposed scenario as a Workflow net.

Reviews

Write a Review

Computer Engineering Questions & Answers

  The best function prototype for the given function

Assume a program contains a void function named calcNewPrice(). The function receives two double variables named oldPrice and newPrice.

  What is the plaintext m

In a public-key system using RSA, you intercept the ciphertext C equal to 128, sent to a user whose public key is e 7, n 527. What is the plaintext M?

  Write down fucntion defintion for the line class constructor

write down fucntion defintion for the Line class constructor.

  Create a button to save the content of listbox to database

Create a button to save the content of the listbox to the database. Create a button to retrieve the content of the table into the listbox.

  Write a program that reads an integer value

Write a program that reads an integer value and prints the average of all odd integers between 0 and the input value, inclusive.

  Find the minimum sop forms for each of the given functions

Find the minimum SOP forms for each of the following functions using K-map.

  What is the gain of using rule sets

What is the gain of using rule sets

  Create an announcement of the new system roll out

There are five centers with about 650 members and 30 employees in each location. The system will be used by both members and fitness consultants to track participation. The primary purpose is to assist the fitness center in obtaining the competiti..

  What is the danger of using the best predictive model

What is the danger of using the best predictive model that you found? Explain why the best-fitting model and the best predictive models are same or different.

  Briefly define e business and e commerce

Briefly define e-business and e-commerce. How are they related?- Explain the relationship between the periodic mode and batch processing.

  Create your policy before procuring technology

Create your policy before procuring technology - Find the devices that are accessing corporate resources

  Give some of the major threats to information systems

What will happen if that information were compromised? What are some of the main threats to information systems? Provide three examples to support your answer.

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