Run Code
|
Code Wall
|
Users
|
Misc
|
Feedback
|
About
|
Login
|
Theme
|
Privacy
Factorial_LOOP
//gcc 5.4.0 #include <stdio.h> int main(void) { int n; int i; int f; i = n; f = 1; scanf("%d",&n); printf("n: %d\n", n); while(i > 0) { f = f*i; --i; } printf("Factorial of n: %d\n", f); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
gcc compiler code for delay
Assignment 5
Even odd program
A_141121_factorial01
null p null q
Calculating longs p v1
función free()
HW2A
Primer avance de lista enlazadas
141128_EjemploChorraArray
Please log in to post a comment.