//Factorial
#include<iostream.h>
#include<conio.h>
void
main()
{
clrscr();
long
int num,fact;
fact=1;
cout<<"ENTER
A NUMBER:";
cin>>num;
for(int
i=1;i<=num;i++)
fact=fact*i;
cout<<"FACTIRIAL
OF "<<num<<"="<<fact;
getch();
}
factorial hundred In the last few days, the “factorial of 100” is one of the top subjects and a lot of maths geeks compute it using voice assistants such as Alexa, Shiri, etc.
ReplyDeletefactorial hundred In the last few days, the “factorial of 100” is one of the top subjects and a lot of maths geeks compute it using voice assistants such as Alexa, Shiri, etc.