Factorial

Given an integer n, find and print the factorial of the given integer.

Constraints :

0 <= n <1000

Input Format : Integer n

Output Format : Print answer

Sample Input 1:
6
Sample Output 1:
720
Sample Input 2:
4
Sample Output 2:
24

Comments

Popular posts from this blog

MySQL Multi Source Master Slave Replication using GTID

Setting Up PostgreSQL Logical Replication with Docker Compose

Regex 101: An Introduction to Regular Expressions for Developers