Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C_141120_factorial01
//Title of this code #include <stdio.h> int main(void) { long factorial[10]; short i, aux; long F; for(i = 0 ; i < 10 ; i++) { F = 1; aux = i; while(aux) F *= aux--; factorial[i] = F; } for(i = 0 ; i < 10 ; i++) { printf("Factorial de %hd es %ld\n", i, factorial[i]); } return 0; }
run
|
edit
|
history
|
help
0
Project 3 Part 1 v1.75
20161118_ArrayRepetidos
13
Double data type.c
C_141210_Punteros
address extraction
18BCE2182 ASSESS_1 Q1-6
z is 7
2.1.1 Prime numbers in different threads with thread ID
variable number of arguments 3