Convert the following while loop to a for loop: int count = 0; while (count < 50)

Question:

Convert the following while loop to a for loop: 

int count = 0;
while (count < 50)
{
 System.out.println("count is " + count);
 count++;
}

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: