Explanatory Question
Convert the following while loop to the corresponding for loop:
int m = 5, n = 10;
while (n>=1)
{
System.out.println(m*n);
n--;
}
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.