Question: MUST BE IN JAVA.. a party planner is organizing a party. Write a program CostEstimate.java that preforms the following... 2. (14 Points) A party planner

MUST BE IN JAVA.. a party planner is organizing a party. Write a program CostEstimate.java that preforms the following...

MUST BE IN JAVA.. a party planner is organizing a party. Write

2. (14 Points) A party planner is organizing a party. Write a program CostEstimate.java that performs the following, Rental cost is $100. Food cost is as follows: For groups with 1-5 people, cost is $20 per person For groups with 6-10 people, cost is $18 per person For groups with 11-15 people cost is $16 per person For groups with more than 15 people, cost is $15 per person. Define a method called cost which takes one parameters, the number of people in the . party, calculates the per person price (food cost with rental cost), then returns the cost per person. . Call cost method in the program to produce a cost stimate table that shows the party size from 2, 4, up to 20 people. Sample output: Party Size (#people) Cost Estimate Per Person $70.00 $45.00 $34.67 $30.50 $28.00 $24.33 4 10 12 20 $20.00

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!