-->
当前位置:首页 > 题库

PROGRAMMING:C language experiment - calculate n!

Luz5年前 (2021-05-10)题库426
Yao Jian recently learned a new algorithm factorial, but he is very lazy and doesn't want to calculate step by step, so he wants you to help him write a program to get the factorial of N immediately.
###Input format:
The input contains several rows of data, each with an integer n (0 < = n < = 11).
###Output format:
The factorial of output n for each line corresponding to the input.
###Input example:
Here is a set of inputs. For example:
```in
two
four
```
###Output example:
The corresponding output is given here. For example:
```out
two
twenty-four
```







answer:If there is no answer, please comment