summaryrefslogtreecommitdiff
path: root/testapp/c_cpp_files/fact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/c_cpp_files/fact.cpp')
-rw-r--r--testapp/c_cpp_files/fact.cpp16
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);
- }
-}