Processes a number of purchases for a user

Assignment Help Basic Computer Science
Reference no: EM131000578

Write a C# Console program that processes a number of purchases for a user. You can use a counter controlled loop (asking the user how many items they have to purchase) or a sentinel controlled loop. It is up to you. The program should ask for the quantity, price, and discount for each item inside the loop. 

The program should find and display a subtotal for the order

(sum of the quantity * price - discount for each item added together) as well as the tax (7% of subtotal), and the final total. These summary values should be printed at the end of the program for the user.

 

 

Reference no: EM131000578

Questions Cloud

Explain the cafe fuel efficiency program : What is geothermal energy and how is it converted to electricity?
Single core (cpu) architecture is able to multi : Single core (CPU) architecture is able to multi____? What two registers are always required in moving data to and from memory?
What is your total cost per month : One common type of calculation that is made frequently out there in the real world is a "fixed and variable cost problem" - what I call a Garfield problem because it's a "lump and per" scenario. What is your total cost per month? Approximately how ..
What is the distance between two streetlights : Optimum sharpness of one image occurs when the diameter ofthe central maximum equals the diameter of the pinhole. What is theoptimum hole size for a pinhole camera in which the filmis 20 cm behind the hole? Assume λ = 550 nm, an average value forv..
Processes a number of purchases for a user : Write a C# Console program that processes a number of purchases for a user. You can use a counter controlled loop (asking the user how many items they have to purchase) or a sentinel controlled loop. It is up to you. The program should ask for the qu..
Explain briefly what caused the income generated : Explain briefly what caused the income generated by the liquidation of LIFO layers. Assuming an income tax rate of 35%, what was the effect of the liquidation of LIFO layers on cost of goods sold in 2011?
What are the various types of wireless security : What are the various types of wireless security. which method is the best and why?
What is the index of refraction of the glass : A light ray incident on a block of glass makes an incident angle of 50.0° with the normal to the surface. The refracted ray in the block makes an 36.1° with the normal. What is the index of refraction of the glass?
Handles people entering an amusement park : GUI program that handles people entering an Amusement Park through the main gate.  Use Radio buttons and/or check boxes. A customer is Over 65, Under 12, or has a Season Pass (age doesn't matter). A ticket for the day for each of these types of custo..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Determine slas are necessary and identify monitoring points

Determine if internal service-level agreements (SLAs) are necessary, and identify the monitoring points and levels for an SLA

  What is the current size of q

Suppose an initially-empty queue Q has performed a total of 32 enqueue operations, 10 front operations, and 15 dequeue operations, 5 of which generated QueueEmptyExceptions,

  How is file management utilized and managed

How is file management utilized and managed? What tools can you use? For those of you who work, how is file management managed in your place of business?"

  Hamiltonian cycle problem

Assume that the Hamiltonian cycle problem is NP-complete for undirected graphs. a. Prove that the Hamiltonian cycle problem is NP-complete for directed graphs.

  Web about toutorial for cooking saudi food

Will develop a web about toutorial for cooking Saudi food , and have a hard time writing a planing project for my topic. Follow these link in order to complete the assignment Her is the requirements for the assignment This assignment has two part..

  Determining the annual probability of success

Suppose that an attack would do $100,000 in damage and has a 15% annual probability of success. Spending $9,000 per year on "Measure A" would cut the annual probability of success by 75%. Do a risk analysis comparing benefits and costs. Show your ..

  Why is it useful to have a storage hierarchy

Why is it useful to have a storage hierarchy and What parts of the computer's hardware do you look for when you're buying a computer?

  Pricing in one market depends on sales

12. A firm makes two products, x and y. Inverse demand for each shows that pricing in one market depends on sales in the other according to the equation:Px=1000 - 20x + 3y and Py = 500 - 5y + x.The firm faces joint fixed cost of $12,000 and constant ..

  Programmers creating program of high quality

Write down technical paper on "Our goal is to aid programmers create program of high quality - programs that reliable, efficient, and reasonably.

  System for the school administrative

Willowbrook School is a small private school that has retained your services as a systems analyst to assist in the development of a new information system for the school's administrative needs.

  Start by identifying all the hazards and potential causes

Start by identifying all the hazards and potential causes of harm to the IT infrastructure and functionality (for example, what are you going to do if the VIU main web site goes down, or what happens if viruses get into VIU computer systems, or..

  Describe and assess the evaluation method

Describe and assess the evaluation method being used by the testing company, i.e., nonvisual and verbal recording of browser activities and tester's vocal comments.

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