rewrite the following program segment using while loop instead of the for loop [2]
int f=1, i ;
for(i=1;i<=4;i++)
{ f*=i
}
System.out.println(+f);
Answers
Answered by
3
Similar questions