【输入一个正整数,输出该数的阶乘.求整数n的阶乘公式为:=1*2*…*n.(n!表示n的阶乘)】
<p>问题:【输入一个正整数,输出该数的阶乘.求整数n的阶乘公式为:=1*2*…*n.(n!表示n的阶乘)】<p>答案:↓↓↓<p class="nav-title mt10" style="border-top:1px solid #ccc;padding-top: 10px;">师汉民的回答:<div class="content-b">网友采纳 publicclassd{ publicstaticvoidmain(String[]args){ inti=1; ints=1; intn=Integer.parseInt(args); while(i
页:
[1]