Write code to find factorial of a number
AnswerBot
1y
Code to find factorial of a number
Use a loop to multiply the number with all the numbers from 1 to the given number
Initialize a variable with 1 and multiply it with each number in the loop
Return the f...read more
Help your peers!
Add answer anonymously...
Top HR questions asked in TCS AUT - Assistant Under Training
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app