Question: Create a program called ConferenceCostYourLastName.java that accepts the number of days per week the attendee will attend and a tier level. Pass those to a
Create a program called ConferenceCostYourLastName.java that accepts the number of days per week the attendee will attend and a tier level. Pass those to a method called determineConferenceCost that returns the cost to charge the attendee. Return the cost to the console. Continue to prompt for days and tier levels until a sentinel value of is entered for number of days.
Tiered Conference Levels
Days per week
Tiers
Tier
Tier
Tier
Tier
To save time, you can use my array declaration and initialization:
int rates
;
Create a JUnit test program to test your method to verify it is receive the correct value back. When testing be sure to test thoroughly. You may wish to refer back to the video showing how to mock up data for a JUnit test.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
