#include main(){int a, fact;printf("\nEnter any number: ");scanf ("%d", &a);fact=rec (a);printf("\nFactorial Value = %d", fact);}rec (int x){int f;if (x==1)return (1);elsef=x*rec(x-1);return (f);}
rrrrrrrrrrubish
IT'S NOT CLEAR ENOUGH COMPARE TO WHAT BASIC EXPLAIN THIS IS TOO COMPREHENSIVE FOR BEGINNER
program by using while and recursion for finding factorial of enter number
thanx
rrrrrrrrrrubish
ReplyDeleteIT'S NOT CLEAR ENOUGH COMPARE TO WHAT BASIC EXPLAIN THIS IS TOO COMPREHENSIVE FOR BEGINNER
ReplyDeleteprogram by using while and recursion for finding factorial of enter number
ReplyDeletethanx
ReplyDelete