Question: Changing the following the while loop to the for loop: int counter=0; while(counter <10) { System.out.println(Test2 is very easy!); counter++; } Question 16 options:
Changing the following the while loop to the for loop:
int counter=0;
while(counter<10)
{
System.out.println("Test2 is very easy!");
counter++;
}
Question 16 options:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
