subject

Need to write this program in python or pseudocode: Task 2 and 3:

Pre-release material
A teacher is planning a school trip to a theme park at the end of term. You have been asked to write
a program to work out the cost per student, to record those who are going and whether they have
paid. The maximum number of students who can go on the trip is 45.
Write and test a program for the teacher.
β€’ Your program must include appropriate prompts for the entry of data.
β€’ Error messages and other output need to be set out clearly.
β€’ All variables, constants and other identifiers must have meaningful names.
You will need to complete these three tasks. Each task must be fully tested.

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 theme 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.

TASK 2 – Record the students who are going and whether they have paid.
Input and store the names of the students who have asked to go on the trip up to the maximum
number allowed. Input and store whether each student has paid. Enable printouts to be produced to
show students who have not paid and those who have paid.

TASK 3 – Work out final costs.
Not all students will end up going on the trip, for example they might not have paid. Modify the
program so that it gives overall totals for the costs charged and the amount of money collected.
Output whether the school trip has made a profit or loss, or has broken even, and the amount of the
final balance

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
What result from the passage of this amendment
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
When building customer relationships through email what should you not do? question 2 options: utilize proper grammar, spelling, and punctuation type in all capital letters use hyperlinks rather than attachments respond to all emails within 24 hours
Answers: 1
question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
You know the right answer?
Need to write this program in python or pseudocode: Task 2 and 3:

Pre-release material<...
Questions
question
Mathematics, 28.02.2020 09:32
question
Mathematics, 28.02.2020 09:36
question
Mathematics, 28.02.2020 09:38
Questions on the website: 13722362