Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
C_141106_Factorial
//Title of this code #include <stdio.h> int main(void) { unsigned short N; unsigned short i; unsigned long F; printf("Valor de N ... "); scanf(" %hu", &N); i = N; F = 1; while(i){ F *= i--;} printf("El factorial de %hu es %lu\n", N, F); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Pattern 13
Anutter juan
Maze
Project 3 Part 1 v1.2
G
C_141210_esMayor
Lab6 v1.2 Sin,cos,tan,cot
dynamic memory allocation.c
c union bytes affected
Arrays
Please log in to post a comment.