Question: code in java A party planner is organizing a party. Write a program CostEstimate.java that performs the following, Rental cost is $100. Food cost is

code in java A party planner is organizing a party. Write acode in java

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 estimate table that shows the party size from 2, 4, up to 20 people. Sample output

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!