convert the following while loop to the corresponding for loop
Attachments:
Answers
Answered by
3
For(int n=10;n>=1;n—)
{
System.out.println(m*n);
n—;
}
{
System.out.println(m*n);
n—;
}
Answered by
4
Answer:
int m=5;
for(int n=10;n>=1;n--)
{
System.out.print(m*n)
}
Explanation:
Similar questions