Question: There are four errors in the following code. List the line numbers with errors and briefly state the problem for each: 1 // NOTE:

There are four errors in the following code. List the line numbers with errors and briefly state the problem for each: 1 // NOTE: There are errors in the following code 2 public 1234567 8 9 10 11 12 13 class ErrorMystery { public static void main (String[] args) { int a, b, c ; boolean done; a = 2.0; b = 3.0; done = false; while (!done) { c = a + b + c%;B if(c = 100) { } done == true; 14 15 16 } 17 Line # Error: Line # Error: Line # Error: Line # Error:
Step by Step Solution
There are 3 Steps involved in it
Sure here are the errors in the code 1 Line 10 a 20 Trying to assign a floa... View full answer
Get step-by-step solutions from verified subject matter experts
