Performs the necessary computations

Assignment Help Business Management
Reference no: EM13979023

Ment Park Problem - Part I   

Write a C++ program for an amusement park to display the bill for the cashier.  The pricing schedule is as follows: 

 Category  Price  Children   $ 10.00 each  Adults   $ 20.50 each   

Write a program that accepts the number of people in each of the two age categories, performs the necessary computations, and displays a bill for the group's admission similar to the display below.  After displaying the total bill, the program requests the cash received and calculates the change.  Be sure to test for a variety of values.  You may assume the cash payment is equal to or greater than the total bill. 

Use the amuseOne.cpp file as a template for this project.  This code will help you organize your first project.  Be sure to delete my comments.  

Here is a sample display after two values are entered:     

Purpose of this project 

Develop C++ program with the following features: 

o Constants and variables o Input data o Calculations including totals o Output display with readable formatting 

Project One Page 2 

? Advice from the Instructor: 

o Print and review the information listed with the Projects link. 

o Chapter Two in the text contains information on all the C++ tools you need. 

o The Chapter Two Notes contain the code for the Payroll Problem.  This sample uses all the elements you need for Project One. 

o As you work on Project One, only code the input, calc, and output for children. Don't add the code for adults until the child code works. 

This will eliminate a lot of frustration as you work. 

o Problems that students have with this project: 

? Don't set up constants (see Chapter 2.5 Naming Constants). ? Don't align the decimals in the output (see Chapter 2.2 Formatting for Numbers with a Decimal Point and Formatting for Numbers with a Decimal Point in the Chapter Two Notes).    

CSIT 210 Introduction to Programming (Java) is a prerequisite for this course.  You will find that C++ statements are very similar to Java so you can rely on your Java skills in this class.  The variables, constants, and calculations are the same.  The major difference is in the input/output statements and the output formatting.

Reference no: EM13979023

Questions Cloud

A coin that is balanced should come up heads half the time : A coin that is balanced should come up heads half the time in the long run. A coin is tossed 4040 times and gives 2085 heads.
Using bitwise operators : Using bitwise operators. Now, the goal is to find prime number less than 31, which is a number -1 that a " unsigned int" variable takes in bits. Instead of using an array, let's use an" unsigned int "variable,
Find prime number less than 31 : Find prime number less than 31,using bitwise operators.  which is a number - 1 that a"unsigned int" variable takes in bits.Instead of using an array, let's use an "unsigned int" variable.
Input into the budgeting process : For governmental agencies, a budget places a legal limit on expenditures. As employees are asked for input into the budgeting process, what types of biases are likely to be encountered? Explain why these biases exist.
Performs the necessary computations : Write a program that accepts the number of people in each of the two age categories, performs the necessary computations, and displays a bill for the group's admission similar to the display below.  After displaying the total bill, the program reques..
What would be the power of the type of test used in problem : What test can be used to test the hypothesis that an increase in amount of sleep will change the number of medical errors per day?
How did the organization create a guiding coalition : Build a guiding coalition for your change - Review the article titled Creating Cultural Change in a 115-Year-Old R&D Organization". How did the organization create a guiding coalition
Research paper on individualism in fahrenheit 451 : Argumentative Research Paper on Individualism in Fahrenheit 451
Determining the mixed-attribute model : Assume a 6% discount rate is reasonable, and using a mixed-attribute model, prepare the journal entries to account for this hedge at the following dates:

Reviews

Write a Review

Business Management Questions & Answers

  If fitter installs an erp system

If Fitter installs an ERP system, how could they reorganize their sales division to be more efficient? Be specific about how you would rearrange divisions, or consolidate them.

  What step(s) might the auditor take at this point?

If the auditor discovers that the audit committee routinely ignores such communications especially when they are critical of management use of GAAP in the financial statements, what step(s) might the auditor take at this point.

  Non-negotiable for the reason that it refers to another

Non-negotiable, for the reason that it refers to another agreement. Non-negotiable, for the reason that it is made subject to another agreement

  Explain how can franchises guarantee its products

Explain how can franchises guarantee its products are appropriate for international markets? Should governments guard its industries by placing tariffs on imported products?

  What is the role of leadership in an innovative organization

What is the role of leadership in an innovative organization? How is this type of leadership different from that of a non-innovative organization? Would you describe the leadership of your organization as innovative? Why or why not?

  Medical recordyou are working on a hospital unit that is

medical recordyou are working on a hospital unit that is going to transition some of its medical record information

  Assuming that a random sample was selected

Assuming that a random sample was selected, construct a 98% confidence interval for the proportion of all U.S. MBA students who expect to stay at their first job five years or more.

  Cost behavior

Knowledge about the behavior pattern of a cost is important to understanding the effect on net income of a change in sales volume because as sales volume changes

  Psychologist and social workers in job analysis

Describe the various benefits as well as the vulneralbilities of each performance methos - Roles of I/O Psychologist and Social workers in job analysis

  What extent is merit determined by opportunity1 to what

what extent is merit determined by opportunity?1. to what extent is merit determined by opportunity? explain whether

  Cultural differences and recruiting and interviewinghow do

cultural differences and recruiting and interviewinghow do cultural differences affect recruitment and interviewing

  Restore public trust in the markets

Congress passed the Sarbanes-Oxley Act of 2002 (SOX) to restore public trust in the markets.

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