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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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