public class use {
public int jieCheng(int i){
if(i==1){
return 1;
}
int result=i*jieCheng(i-1);
return result;
public static void main(String[] args) {
int a=new use().jieCheng(6);
System.out.println(a);
yymooc
相关分类