Write a C program to find factorial(using recursion) of any no.
#include<stdio.h> #include<conio.h> int fact(int); main() { int n,result; printf("\n Enter any number"); scanf("%d",&n); result=fact(n); printf("\n The result=%d",result); getch(); } int fact(int m) { if(m==0) return 1; else return(m*fact(m-1)); }
Output:
Write a C program to convert binary to decimal using function.
Write a C procram to G.C.D. of two no. using recursion.
What is Software Quality Management?