Home > Back-end >  C # language
C # language

Time:09-18

Define a function, the function of function for n! N input and n! All in the main function of the output (input n<=6, to avoid overflow)

CodePudding user response:


 
Int s=1;
While (n> 0)
{
S=s * n;
N -;
}

  • Related