Write down a simple c++ cash register program

Assignment Help Computer Engineering
Reference no: EM1331480

Write a simple C++ cash register program as per the following specifications.

The program should ask for the customer's first name and last name initials. Use 2 different variables, one for the first name and one for the last name.

The program should ask for the prices of 5 different items. Use 5 different input statements and 5 different variables.

The program should add the 5 products together giving the subtotal price.

Find the tax by multiplying the subtotal by a constant called TaxRate. Assume tax rate of 10%.

For the total, add the tax to the subtotal.

Output the first name initial, a period and space, last name initial, a period and space, a message to the user and the total.

Reference no: EM1331480

Questions Cloud

Explain dot-coms and failures and e-business : What are the myths that drove so many bright people to launch a dot-com business?
Nash equilibria : Consider the two-period repeated game in which this stage game is played twice and the repeated-game payo s are simply the sum of the payo s in each of the two periods.
Summary of the extrinsic and intrinsic rewards : A summary of the extrinsic and intrinsic rewards received by the Human Resource Director - What characteristics of the Human Resource Director that aren't expected to be part of the job.
Explaining unemployment benefits : Mr. Jones' only recourse is to file for unemployment benefits.
Write down a simple c++ cash register program : The program must ask for the customer's first name and last name initials. Use 2 different variables, one for the first name and one for the last name.
Risk-averse von neumann-morgenstern perticular : Prove that a risk-averse von Neumann-Morgenstern perticular will over-insure, fully-insure, or under-insure according as the insurance is available
Resources for marketing principles : Resources for Marketing Principles - Summarize information from your online resources and write a summary journal entry for each.
How to create a coke machine program in c++ : We would start by having the users insert their money. Since they can not physically insert the money, we will just ask them how much they wish to insert and we will keep track of how much money they have inserted.
Training and management development activities : What kinds of training and management development activities have you experienced that have benefited your career and Where do you seeing training and development going in the future within your organization

Reviews

Write a Review

Computer Engineering Questions & Answers

  Disadvantages are there to dereferencing of pointer

What drawbacks are there in implicit dereferencing of pointers, but only in certain contexts? For example, consider the implicit dereference of a pointer to a record in Ada when it is used to reference a record field.

  Implementing the sql query

Employees relation describes pilots and other kinds of the employees as well; every pilot is certified for some aircraft, and only pilots are certified to fly. Write down each of following queries in SQL.

  Define the way in which a person writes or sends e-mails

explain a scenario in which someone displayed bad netiquette. How did someone react to receiving the email? what could the sender have done differently to display good netiquette.

  Make a stack area at 1000h

Push 10h bytes, located at data memory addresses 60000h to 6000fh, on the stack using indirect addressing. Then pop stack to memory addresses 62000h to 6200fh using indirect addressing. Load unique data into the 10h bytes in order to test the prog..

  Too much control is counter-productive define

"Too much control is counter-productive." Do you agree? Provide reasoning of the view.

  Express what makes one algorithm better than another

A non-technical friend has asked whether some algorithms are better than others. express what makes one algorithm better than another.

  Can a relation be stored as a sequential file

Can a relation be stored as a sequential file

  Choose three or more types of testing

Write down the discussion as if you are the systems analyst briefing your CIO as the two of you are walking over to the steering committee meeting in which a "go/no go" decision will be made whether to go live with your new enterprise system (this..

  What tools you would need to conduct the site

what tools you would need to conduct the site survey and why each is required.

  Designing the flow chart

Draw a flowchart describing the following given situations: The data found on employee time cards are keyed onto the hard disk before they are processed by the computer.

  Main differences between selection and switch structure

What do you need to analyze when directing flow of information in each case? Give code examples for if/else structure and switch structure that produce the same result.

  Make a non-gui based java application

make a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week.

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