public class Tip { public static void main(String[] args) { double bill = 53.5; System.out.println("Waiter: I hope you enjoyed your meal!"); System.out.println("Thank you!"); tipTheWaiter(bill); //Task 2: Call a function that tips the waiter. } public static void tipTheWaiter(double bill) { double tip = (bill*15) / 100; System.out.println("Your service was wonderful! Please, accept this tip: $" + tip); } //Task 1: Make a function here. See the doc comment for details. /** * Function name: tipTheWaiter - calculates a tip and prints it. * @param bill (double). * * Inside the function: * 1. Calculates a tip that's 15 percent of bill. * 2. Prints: Your service was wonderful! Please, accept this tip: $ */ }