Write a program for Factorial in java
AnswerBot
5mo
A program to calculate factorial of a number in Java
Create a function that takes an integer as input
Use a loop to multiply the number with decreasing values until 1
Handle edge cases like 0 and negativ...read more
Help your peers!
Add answer anonymously...
Top Deloitte Consultant interview questions & answers
Popular interview questions of Consultant
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