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

  Elements corresponding to the inorder sequence

Suppose that you are given two sequences of elements corresponding to the inorder sequence and the preorder sequence. Prove that it is possible to reconstruct a unique binary tree .

  Developing the subnet calculator using visual studio

Create a Visual Basic .NET Windows Application with the following user requirements:

  How code an interactive hangman game using string method

How do you code an interactive hangman game using the string method

  Can you name the country which contributed the video display

It had chips from Intel, disk drives from Tendon, operating system from Microsoft, the printer from Epson and the application software from everywhere.

  Analysis summarizing the wireless design

Provide a 7 to 10 page analysis summarizing the wireless design to the executive management team. The summary should effectively allow the senior management to understand the organization security requirements and make the appropriate decisions..

  Compute net present value and return on investment

Compute net present value (NPV) and return on investment (ROI) and present break-even analysis (BEA). Suppose discount rate of 12 percent and five-year time horizon.

  Division of the banana tree travel agency

The Surfing Shoppe lab is a division of the Banana Tree Travel Agency. The small lab has recently expanded to seven computers and is trying to design and layout their network across their two-room facility.

  Explain what type of architecture new payroll application

Explain what type of architecture the new payroll application

  The risk assessment for the health body wellness center

The risk assessment for the Health Body Wellness Center has already been conducted. Your task is to define the ISMS scope for the Healthy Body Wellness Center and make recommendations for implementing the resulting ISMS plan.

  Explain how fuzz based systems work

Explain how fuzz based systems work and provide a detailed example of a system that utilises fuzzy logic.

  Baking in the vertex colors

Render the sphere in Part I by baking in the vertex colors, for every vertex calculate its vertex normal by averaging the face normals. Normalize it and then pass the normalized value as a Hue Saturation and Lightness color value i.e. x -> H y-..

  Map elements can placed anywhere within body the web page

Map elements can be placed anywhere within the body of the Web page because they are not actually displayed by the browser, but used as references for mapping ____ to inline images.

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