1. Write a program to calculate 1/n!
2. Write a program to calculate xn/n!
3. Write a program to check if n is a factorial number.
4. Write a program to find the largest factorial factor in n.
5. Write a program to multiply a and b using addition. Numbers can be greater than 0, less than 0 or 0.
6. The binomial theorem says that the coefficient nCr of the rth power of x in the expansion of (x+10)n is nCr=n!/(r!(n-r)!). Write a program to find all coefficients of x for given n.
0 Comments