Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
A_141121_factorial01
//Title of this code #include <stdio.h> int main(void) { long factorial[20]; short i, aux; long F; for(i = 0 ; i < 20 ; i++) { F = 1; aux = i; while(aux) { F *= aux--; } factorial[i] = F; } for(i = 0 ; i < 20 ; i++) { printf("factorial de %2hd es %18ld\n", i, factorial[i]); } return 0; }
run
|
edit
|
history
|
help
0
incrementing values in an array
Student. Txt
bitwise operations
Char data type.c
709 lab 3.2
SAI_1-3.c
PuntosTriangulo
arrays vowles printing
sjf
C_141113_VariosPerfectos