diff --git a/recursioncreation.cpp b/recursioncreation.cpp index 022ef26..7c571db 100644 --- a/recursioncreation.cpp +++ b/recursioncreation.cpp @@ -1,7 +1,7 @@ #include using namespace std; - +int func(int n); //create a recursive funtion of the following logic given in the main function. int main(){ @@ -13,4 +13,13 @@ int main(){ ans = ans * i; } cout<