Question: Debugging Exercise 3-1 | Instructions DebugThree1... 1 // This class calculates a waitperson's tip as 15% of the bill 2 public class DebugThree1 The files

Debugging Exercise 3-1 | Instructions DebugThree1... 1 // This class calculates a waitperson's tip as 15% of the bill 2 public class DebugThree1 The files provided in the code editor to the right contain syntax and/or logic errors. In each case, determine and fix the problem, public static void main(String args]) remove all syntax and coding errors, and double myCheck50.90 double yourCheck19.95 System.out.println("Tips are") calcTip(nyCheck); calctip(yourcheck); run the program to ensure it works properly 7 GRADING Write your Java code in the coding area on the right. Use the Run Code button to execute and run the code and the Test button to run a series of pre-configured tests against your project. 10 public void calcTip (double bill) 12 13 14 15 16 17 18 19 20 final double RATE = .15; double tip; tip checkRATE; System.out.println("The tip should be at Least "tip); Once you are happy with the test results, click Grade to submit your project for grading
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
