Rewrite the following program snippet,using do..while loop:
int i,f; f=1; for(i=1;i<=10;i++)
{ f= f * i ;
} System.out.println(f);
Answers
Answered by
2
Answer:
do
{
int=1;
f=f*I;
I++;
}
while (i<=10)
System.out.println(f);
Similar questions
Business Studies,
2 months ago
Physics,
2 months ago
Social Sciences,
2 months ago
Hindi,
5 months ago
Math,
5 months ago
Chemistry,
10 months ago