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

  Current state of the organization

Write a four to six (4-6) page project introduction that documents the current state of the organization, expands upon the information given above, and includes the following:

  Explanation of new entry to market

Describe the modifications that you will need to make to your chosen item (i.e. Rack-mount Servers) in order to introduce it successfully to customers in Russia.

  Development of a strategic plan for a business

Is strategic planning as important for a small company as for a large company? Why or why not? How would you approach the development of a strategic plan for a business you own

  Your motivation to blow the whistle on corporate wrongdoing?

Dissonance Model and how it describes the ethical person-organization fit at various stages of the contractual relationship in each potential fit scenario. Assume a Low Organizational Ethics, High Individual Ethics (Low-High) fit. How might this rela..

  Limitations of financial forecasting

Discuss the possible challenges and limitations of financial forecasting.

  Packaging and material management

Packaging and Material Management - Find packaging design and material handling principles as they relate to efficient warehouse management.

  Question related to global business management

What is the centroid method and would this be an appropriate method for your organization to rely on? Why or why not?

  Identify the 3 major types of business pressure

Identify the 3 major types of business pressure and provide an example of each.

  Evaluating techniques and training validation

As the training manager, you are making to interview many consultants who may give training services to your organization. One of the targets for the interview is to find out how the training will be evaluated and validated.

  Show employee evaluation process

Show the changes that you would make in this process and how these changes could lead to improved morale within the organization.

  Strategies for dealing with hrm challenges and trendsthese

strategies for dealing with hrm challenges and trendsthese are the three trends or challenges- one challenge for hrm is

  Degree of leadership in effective group communication

leader needs to maintain some authority and if someone goes on and on meet with them in a different setting besides the team meeting. What variables supports this thought process?

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