summaryrefslogtreecommitdiff
path: root/testapp/c_cpp_files/fact.cpp
diff options
context:
space:
mode:
authorprathamesh2013-07-02 12:25:33 +0530
committerprathamesh2013-07-02 12:25:33 +0530
commit8a3016a88af5c4a09e8b5683f1e305e9100f3562 (patch)
treec5878e30b59ee084f6b5fd6c5f3e98a097e4960e /testapp/c_cpp_files/fact.cpp
parent33366bfa87d62d433cc7541e4699b61be78e5024 (diff)
downloadonline_test-8a3016a88af5c4a09e8b5683f1e305e9100f3562.tar.gz
online_test-8a3016a88af5c4a09e8b5683f1e305e9100f3562.tar.bz2
online_test-8a3016a88af5c4a09e8b5683f1e305e9100f3562.zip
c files moved
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);
- }
-}