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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started