Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
B_141121_factorial02
//Title of this code #include <stdio.h> int main(void) { long factorial[20]; short i; for(factorial[0] = 1 , i = 1 ; i < 20 ; i++) { factorial[i] = i * factorial[i - 1]; } for(i = 0 ; i < 20 ; i++) { printf("%3hd --> %20ld\n", i, factorial[i]); } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Hello w
Card shuffling and dealing program using structures
Spring 2017 Project 2 v1
gcc compiler bug.. weird.
variable number of arguments 3
PuntosTriangulo
prime numbers using functions
Ptr_to_fct__v2
Project 3 Part 1 v1.4
String Manipulation
Please log in to post a comment.