Write a program in JAVA to find the factorials of integers upto 10^5.
Answers
Answered by
1
Explanation:
class Factorial
{
public static void main ()
{
in i, f=1;
for (i=1;i<=100000;i++)
{
f=f*i;
}
System.out.println (f);
}
}
Similar questions