// nmutiln.cpp : Defines the entry point for the console application. // #include "stdafx.h" usingnamespace std; void Input(int* pn); double GetNum(int n); void Output(double n); int main() ...{ int n =0; double du =0.0; Input(&n); du = GetNum(n); Output(du); return0; } void Input(int* pn) ...{ cout <<"please input a number:"<< endl; cin >>*pn; } double GetNum(int n) ...{ int i =0; double du =0; du =1.0; for (i =1; i <= n; i++) ...{ du *= i; } return du; } void Output(double du) ...{ cout <<"result = "<< du << endl; }
// nmutiln.cpp : Defines the entry point for the console application.//#include "stdafx.h"using namespace std;void Input(int* pn);double GetNum(int n);void Output(double n);int main()...{ int n