Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
B_141121_factorial01
//Title of this code #include <stdio.h> int main(void) { long factorial[20]; long F; short i, aux; for(i = 0 ; i < 20 ; i++) { aux = i; F = 1; while(aux) { F *= aux--; } factorial[i] = F; } for(i = 0 ; i < 20 ; i++) { printf("%3hd --> %20ld\n", i, factorial[i]); } return 0; }
run
|
edit
|
history
|
help
0
intro coding hello world
strcat
string_ptr_to_fct_param_v2
FILE_Access
variable number of arguments
Spring 2017 Lab 4 v1
Finding type of triangle assignment
Type struct
Rationale Zahlen
Refcount220323