Find factorial of a number in C++ Find factorial of a number in C++ #include <iostream> using namespace std; int main() { int n; […]
Read moreTag: factorial of a number
C++ Factorial Program
C++ Factorial Program C++ Factorial Program #include<iostream> #include<math.h> using namespace std; int fact(int n){ Β Β int number=1; Β Β for(int i=n;i>=1;i–){ Β Β […]
Read moreC++ Factorial Program
C++ Factorial Program C++ Factorial Program #include<iostream> #include<math.h> using namespace std; int fact(int n){ Β Β int number=1; Β Β for(int i=n;i>=1;i–){ Β […]
Read moreFactorial of a number using Recursion
Factorial of a number using Recursion Factorial of a number using Recursion #include <stdio.h> //Function Prototype Declaration int factorial (int a); int main() […]
Read more
Recent Comments