diff options
Diffstat (limited to 'testapp/c_cpp_files/fact.cpp')
-rw-r--r-- | testapp/c_cpp_files/fact.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/testapp/c_cpp_files/fact.cpp b/testapp/c_cpp_files/fact.cpp deleted file mode 100644 index f9b7458..0000000 --- a/testapp/c_cpp_files/fact.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include<stdio.h> -int fact = 1; -int factorial(int a) -{ - printf("%d\n",a); - if(a<1) - { - printf("\nfinal"); - return 1; - } - else - { - printf("count\n"); - return a*factorial(a-1); - } -} |