提交 f1a84731 编写于 作者: R root

Auto Commit

上级 1a987c02
无法预览此类型文件
class Main { public class Main {
public static void main(String[] args) { public static int factorial(int n) {
System.out.println("Hello world!"); return n <= 1 ? 1 : n * factorial(n - 1);
} }
public static void main(String[] args) {
int num = 10;
System.out.println(num + "! = " + factorial(num));
}
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册