Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
150108_recursividadFactorial
//Title of this code //gcc 4.8.2 #include <stdio.h> long factorial(long n); int main(void) { long N = 5; printf("El factorial de %ld es %ld\n\n", N, factorial(N)); return 0; } long factorial(long n) { if(n == 0) return 1; return n * factorial(n - 1); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
150113_ArrayOrdenado
CO_assign_q1
Pattern 13
Lab 9 v0.965
1/23/2017
child process
C_141210_Funciones
Multiple If statements v1
Bitwise Operations
AVANCE PREGUNTA 10 DE CADENAS
Please log in to post a comment.