Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C_141120_factorial02
//Title of this code #include <stdio.h> int main(void) { long factorial[10]; short i; for(factorial[0] = 1 , i = 1 ; i < 10 ; i++) { factorial[i] = i * factorial[i - 1]; } for(i = 0 ; i < 10 ; i++) { printf("Factorial de %hd es %ld\n", i, factorial[i]); } return 0; }
run
|
edit
|
history
|
help
0
C_141112_Perfectos
Print hostname
Linked List
Lab 11 v1.0
Project 3 part 2 Book v1
c program for hollow rhombus
Stub Program for Problem 2 HW 2
day 3 integer manipulation
Anutter juan
Star 1,3