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

PROGRAMMING:Ask 1+ 3!+ 5!+……+ n!

Luz5年前 (2021-05-10)题库464
Ask 1+ 3!+ 5!+……+ n! It is required to use loop nesting design, n < 12.
###Input format:
The input gives a positive integer n of no more than 12 on a line.
###Output format:
Output in one line in the order of "n = n value, s = factorial sum", where factorial sum is a positive integer.
###Input example:
```in
five
```
###Output example:
```out
n=5,s=127
```






answer:If there is no answer, please comment