my code is not complete....please help me :)
I m a beginner.
Type: Posts; User: ShubhamDepp
my code is not complete....please help me :)
I m a beginner.
here is my effort from line 36 to 57 :)
1 #include<stdio.h>
2 #include<math.h>
3 int main()
4 {
5 int t,count=1,i,j,k=0,n,z,l=0,p,f=0,key=0;
6 int a[100][100];
...
Thank you for helping!!!!1 :redface::redface:
Nothing is printing..... :(...I m a beginner....please help
Here is my algorithm :-
You know to calculate factorial of a number, you should multiply all numbers from 1 to itself, for example:
http://cboard.cprogramming.com/1000-Factorial_files/minus.gif...
we have to fing log of a number n(1<=n<=2) using recursive relation???:):)
Q.There are multiple test cases.
Each line contains a single integer n.
Find factorial of n ( n<150)
Input:
6 (no. of test cases )
25
Output:
720
15511210043330985984000000
#include<stdio.h>
#include<math.h>
int main()
{
int t,count=1,i,j,k,n,z,l,p;
int a[100][100];
scanf("%d",&t);
for(count=1;count<=t;count++)
{
scanf("%d",&n);