47.6k views
5 votes
TASK 1 – Work out the cost.

The cost of the trip for each student is a share of the cost of a coach plus the cost of entry to the theme park.
The total cost of the coach will be $550. The entry cost to the park is $30 for each student. The national park gives one free ticket for every ten that are bought, which must be taken into consideration.
Set up a program that:

• stores the cost of the coach
• stores the cost of an entry ticket
• inputs the estimated number of students taking part, this must be validated on entry and an
unsuitable entry rejected
• calculates and outputs the recommended cost per student to ensure the trip does not make a loss.

Write an algorithm to complete Task 1, using either pseudocode, programming statements or a
flowchart. [5]

User Aaron Reed
by
4.1k points

1 Answer

7 votes

Answer:

please check the question again

Step-by-step explanation:

User Brigette
by
5.0k points