Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 505 Bytes

File metadata and controls

9 lines (5 loc) · 505 Bytes

factorial-

To calculate the factorial using a loop and recursion

Hello Guys! If you encounter any issues with your code or system, feel free to contact me for assistance.You can reach me through email at [email protected] or by phone at 7774885259. "Additionally, I can also assist with any digital aspects as well."

Question -

Write a program to calculate the factorial of a number using a loop and recursion. Comment on the analysis of both methods; which one is better and why?