Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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.
a.out
Area of the Cone
18BCE2182 ASSESS_2 Q4
problemapi2
no output
Character testing
2-D array
printing float pointers
recursive
ATM
Please log in to post a comment.