9511_workbook

solved exercises from algorithms & programming I (9511) prof. Cardozo
Index Commits Files Refs README
commit ffedae2dbf826e61f4eaf13bd6fed48208e2cd2d
parent ad72aba8f2238b090628806bc6fe0a8818b38a80
Author: klewer-martin <martin.cachari@gmail.com>
Date:   Sat,  3 Apr 2021 22:17:06 -0300

Update:

Diffstat:
Mguia05/ex01.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guia05/ex01.c b/guia05/ex01.c
@@ -1,6 +1,6 @@
 #include <stdio.h>
 
-unsigned long fact ( int num ) {
+unsigned long fact(int num) {
     unsigned long j, res;
     res = 1;
 
@@ -13,6 +13,7 @@ unsigned long fact ( int num ) {
 int main ( void ) {
 
     printf("%lu\n", fact(5));
+    printf("%lu\n", fact_recursive(5));
 
     return 0;
 }