Question: I am just a biginner in CS. Need some help writing java program for this question. write a program for outing info. Task 1 No.

I am just a biginner in CS. Need some help writing java program for this question.

write a program for outing info.

Task 1

No. of people hire of coach($) cost of meal(s) cost of a ticket(s)
12-16 150 14.00 21.00
17-26 190 13.50 20.00
27-39 225 13.00 19.00

Minimum people should be 10 for outing. Max should be 36. Minimum two carers must go on outing, with additional carer needed if more than 24 people go on outing. carers do not pay. work out the total cost of of outing and cost per person for outing.

Task 2

use result from 1 and record the names of people on outing, and amount they paid including the carer on outing. If tehre are spare places on the coach then extra people can be added. They are charged the same price as otehr people. Calculate the total amount of money collected. print out list of people on string.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!