階乘 Java實現

public class Demo{ public static void main(String[] args) { for (int i = 1; i <= 10; i++) { System.out.printf("%d!\t = \t%d\n", i, factorial(i)); } } public s
相關文章
相關標籤/搜索