Calculate the total cost for the meal plans selected

Assignment Help Other Subject
Reference no: EM132652533

Assignment: Write a program and flowchart, and include a snippet of your program running.

ECPI has rented a Cruise Boat for its upcoming graduating class! You work at ECPI, and have been asked to manage the reservations for students and their families. You need to write a program that tracks the ages of at least 2 students and their families; as well as the meal plans they have selected. The program will achieve the following:

1. Track the ages of at least 2 parties - Student and family member(s

• We need to capture ages, to know what each family member can participate in

• Based off the age, the price of the ticket per guest. Sum up the cost of tickets per family. Example, $1000/adults, $500/child, $850/Seniors

2. Track the meal plans they have selected per party

• Each family/party can select a meal plan per day; and your program must track those costs

3. Once you have included the Meal Plans, and the prices:

• Calculate the total cost for the Meal Plans selected

• And then the total cost of both meal plans

Instructions: The program you write should include these components at a minimum. Remember though: Get creative, and feel free to add different components that you feel are applicable in a Cruise Reservation program.

1. You must have at least two different arrays - These are, in effect, parallel arrays:

• One for each Family/Party capturing the ages of every person in the reservation

• Minimum: 4 Families

• One for each Meal Plan Options selected

• Each family should have a meal plan included

1. Meal Plans can be, for example, breakfast, lunch and supper and should include just the prices for each one

2. create and display a menu to see choices and prices

Please note:

• The image below does not reflect the menu or the ticket cost

• The arrays are for two families; and two meal plans, including the prices for each of the meals chosen

2. Remember to use a "for" loop for each array

3. You should have Totals that calculates the totals for each family meal plan

• Because you will have at 4 Parties/Families, all should have their own price totals; and then also a total for the meal plans reserved and ticketing

4. Hints and Suggestions:

• You can set your own book prices - for example, see the prices in the example below

• You can set how many Meal Plans included for each section

• You can also write the program to ask the user for this input, but this is not required

5. At the end, it prints out the totals for each section

6. The very last total of all Meal Plans and ticket totals should be printed in a different color - so it really stands out.

Reference no: EM132652533

Questions Cloud

Develop a workforce with the skills to handle iot security : Security practitioners suggest that key IoT security steps include: Develop a workforce with the skills to handle IoT security. Project Plan (Deliverables).
What is the revised statement of financial position : What is the revised statement of financial position using the available information. Assume that the bank overdraft relates to a bank account held
Demonstrate a connection to your current work environment : Demonstrate a connection to your current work environment. If you are not employed, demonstrate a connection to your desired work environment.
How to describe impact of tax shield on fixed income yields : How to compare the coupon rate and the interest rate regarding bonds. What is a par value? Describe the impact of a tax shield on fixed income yields.
Calculate the total cost for the meal plans selected : ECPI has rented a Cruise Boat for its upcoming graduating class! You work at ECPI, and have been asked to manage the reservations for students.
Discussion on cryptocurrencies and security : Prepare a 3 page paper on cryptocurrencies and security and dispute resolution and support your findings with research. How have cryptocurrencies taken.
Which a financially distressed entity balance sheet would : Which a financially distressed entity's balance sheet would most likely consist of? large amounts of both current assets and current liabilities
Which situations would cause analysts to be alarmed : Which situations would cause analysts to be alarmed? A decrease in cash collected from customers compared to that paid to suppliers
Which an indicator of earnings management is the : Which an indicator of earnings management is the? inventory costs on the first-in, first-out basis, regardless of the physical flow of the goods

Reviews

Write a Review

Other Subject Questions & Answers

  What are the consequences

Using your CIKR paper from week 3, continue the risk analysis of your CIKR being impacted by a natural disaster, terrorism or technological event. Answer the following questions for each type of event: (1) what can happen? (2) how likely is it? (3..

  What are the government regulation of business

In no less than two and no more than four pages, summarize the important economic principles and concepts in each of the assigned chapter.

  Account certain natural and human factors

When examining the geology of a region for potential useable aquifiers, what characteristics or factors would you consider? Also, taking into account certain natural and human factors, which areas would you avoid?

  What is ones understanding of human nature and behavior

The choice of individual versus family therapy can be based on technical issues (which approach works best for a given problem, such as marital conflict, school phobia, alcoholism, etc.) or philosophical issues (what is one's understanding of huma..

  Discuss two to three challenges an administrator may face

Discuss two to three challenges an administrator may face when developing and reviewing proposals for budget cuts. 150 to 200 word response

  Define and expain overhead costs

This week your assignment is to research, define and expain overhead costs. Research examples of different companies or government agencies.

  Describe the tragedy of the commons

Describe the tragedy of the commons. What problems are presented by the tragedy of the commons for moral evaluation of technological development? How would you address these problems?

  Discuss public health significance of the research question

What do you think the public health significance of the research question in this study was? Is it mostly of local significance or is there a global impact?

  Justice system is simply bureaucratic assembly line

Write an essay on whether or not the justice system is simply a bureaucratic assembly line that does not promote justice as much as it simply ensures

  Peacekeeping and order maintenance

Discuss the challenges faced by police officers responding to domestic violence calls and their options for dealing with them.

  Discuss the spirituality construct of purnells model

Discuss the Spirituality construct of Purnell's model as it relates to your selected culture and address each of the sub-constructs

  Select two historical perspectives on human sexuality

Select one contemporary cultural perspective on human sexuality listed in the text (e.g., sexual revolution, gay activism, sex research).

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