From 96c7f55277771723266f3e6271b3eb7bfdbe02e8 Mon Sep 17 00:00:00 2001 From: ShivHarshDubey03 <115109671+ShivHarshDubey03@users.noreply.github.com> Date: Mon, 10 Oct 2022 13:47:28 +0530 Subject: [PATCH] Create FACTORIAL USING RECURSION --- FACTORIAL USING RECURSION | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 FACTORIAL USING RECURSION diff --git a/FACTORIAL USING RECURSION b/FACTORIAL USING RECURSION new file mode 100644 index 0000000..1a74c11 --- /dev/null +++ b/FACTORIAL USING RECURSION @@ -0,0 +1,33 @@ +#include + +#include + +using namespace std; + +int main() +{ + int n; + + cout<<"Enter the number:\n"; + + cin>>n; + + int fact(int a); + + cout<