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

  Propose a wiring plan for network servers

Propose a wiring plan for network servers.

  Why organization that meets the company''s specifications

A software application has been delivered to your organization that meets the company's specifications. Using associated examples, describe problems which may arise when it is installed and used in your organization.

  Illustrate the control flow graph

Illustrate the control flow graph

  Distributed data processing

Explain how has the increasing availability of the inexpensive yet powerful personal computers and workstations generated an increasing trend towards distributed data processing (DDP).

  Code to declare the four pointer variables

In C++: A pointer variable may consist of a pointer to a valid object, a pointer to a deleted object, NULL, or the random value. Write down the code which generates and sets four pointer variables a, b, c, and d to display each of these possibilit..

  Specific mobile wireless solutions

Assess a problem, diagnose its sources, and recommend a course of action. Some examples are the recommendation for specific mobile wireless solutions.

  Explain how the digitization of music has created

Why do you think different digital audio formats exist? Would you support one standard file format for all music in the future? Why or why not.

  Make an application named numbers

make an application named Numbers. The Numbers class should have non-static public methods named sum and difference, each taking a pair of int variables as arguments.

  Explain the difference between object-oriented programming

define the difference between object-oriented programming and procedural (or structural or processual) programming. What, if anything, does the OO model bring to the table and improve upon what was out there pre-OO.

  Write down a c++ program that first reads an integer

create a C++ program that first reads an integer for the array size, then reads numbers into an array, computes their average and finds out how many numbers are above the average.

  Define the quicksort algorithm to sort vector v

define the quicksort algorithm to sort vector v. During each pass, list all exchanges of a pair of elements in the lower and upper sublist.

  Explain the fundamentals of object oriented programming

With down a brief introduction, explain the fundamentals of Object Oriented programming and its differences from procedural programming.

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