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

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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