import math
if num == 0: print(num) print(math.factorial(num))
num = int(input('Please enter an integer greater than 1.If 2 is entered, the factorial of the number is printed.\n'
我的代码如下:using namespace std;
int factorial = 1, current = 2, n;cout << "enter number to calculate factorial of: "; factorial= current * factorial;
curre