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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!