¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Write the function to calculate the factorial value of any integr argument call function from man() and print the result in main
pleas help me 😢
1 Respuesta
0
Int fact=1;
cin>>n;
for(int i=1;i<=n;i++) {
fact *=i;
}
cout <<fact;