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
Physics,
2 months ago
Business Studies,
2 months ago
Accountancy,
2 months ago
Math,
4 months ago
Math,
8 months ago
Chemistry,
8 months ago
Physics,
8 months ago