int i, f=1 ;
for ( i=1 ; i<=5; i++)
{
f=f*i;
}
System. out.println("Result="+f);
Answers
Answered by
1
Answer:
120
Explanation:
1x1=1
1×2=2
2×3=6
6×4=24
24×5=120
Similar questions