تمرین برنامه نویسی ٨
Write a program to calculate Factorial of input numbers. Factorial of N is the product of all numbers less than equal to N.
توضیحات
برنامه ای بنویسید که فاکتوریل n را حساب کند. فاکتوریل حاصل ضرب تمام اعداد کوچکتر و مساوی n در همدیگر است
نمونه ورودی و خروجی
Input:
5
6
Output:
120
720