Question: Question 12 (10 marks). Please consider the following code for part a and b : int counter =10; while (counter ==15 ) continue; System.out.println (counter

Question 12 (10 marks). Please consider the following code for part a and b : int counter =10; while (counter ==15 ) continue; System.out.println (counter + " "); \} Part A (5 marks) Re-write the while loop without the continue statement so that it performs the same task. Part B (5 marks) Re-write the while loop without the continue statement so that the numbers are printed in the reverse order
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
