Question: N JAVA Create a method called tipCalculator which accepts parameters: boolean isSplit, int numberPeople, double checkAmount, String serviceQuality Ask the user to enter each value.
N JAVA Create a method called tipCalculator which accepts parameters: boolean isSplit, int numberPeople, double checkAmount, String serviceQuality Ask the user to enter each value. User should select service quality that will correspond to tip percent. Poor = 5% Fair = 10% Good = 15% Great = 20% Excellent = 25% The program should display the following information based on the user input: Split or No split Number of people entered: &&&& Service Quality: Total to pay: Total tip: Total per person: Tip per person: Input: Split:Yes Number of people:4 Check amount:476.0 Service Quality:Excellent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
