Computer Science, asked by snehalchavan9602, 5 months ago

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 sumithrasumi2215
2

Answer:

do

{

int=1;

f=f*I;

I++;

}

while (i<=10)

System.out.println(f);

Similar questions