Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
20171103_factorial
//gcc 5.4.0 #include <stdio.h> int main(void) { unsigned long long f; unsigned short n, cn; printf("Valor de n... "); scanf(" %hu", &n); cn = n; f = 1; while(cn) { f *= cn--; } printf("el factorial de %hu es %llu\n\n\n", n, f); return 0; }
run
|
edit
|
history
|
help
0
Mem alloc test
22nd HW Switchv0.1
Project 3 Part 1 v1.1
WHY_?
date diff sample
domain.com
fibonacci 1
Q1.c
Area
Bool datatype Operation for GCC