Posts by Edgardo • 7 points
1 post
-
-2
votes3
answers869
viewsQ: Factorial in C, beginning of programming
include stdio.h include stdlib.h include math.h int main() { int n, prod=1,x; printf ("Digite um numero:"); scanf ("%D", &n); for (=1; x<=n; x++) { Prod*= x; } printf ("Fat= %D\n", prod);…