Programación para imprimir factorial
# incluir ltstdio.h gt
main()
{
int a, b, c, d = 1
scanf; ("d", ampa);
printf("Por favor ingrese n:");
for(b = 1; b lt= a; b)
{
for(c = 1; c lt= b; c )
{
d = d * c;
}
printf("d!= ld\n ",b,d);
d = 1;
}
}
main()
{
int a, b, c, d = 1
scanf; ("d", ampa);
printf("Por favor ingrese n:");
for(b = 1; b lt= a; b)
{
for(c = 1; c lt= b; c )
{
d = d * c;
}
printf("d!= ld\n ",b,d);
d = 1;
}
}