摘要: ;public class MethodOverload { public static void main(String[] args) { System.out.println("The square of integer 7 is " + square(7)); System.out.prin 阅读全文
posted @ 2017-10-14 01:26 pangkaxxxl 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 程序设计思路:先计算N!,其中用递归计算。在分别计算N!,K!,(N-K)!.其中计算N!时直到N=1或0时结束,输出N。 流程图: 源代码: import java.util.Scanner;public class Zuoye1_1 { public static void main(Strin 阅读全文
posted @ 2017-10-14 01:15 pangkaxxxl 阅读(103) 评论(0) 推荐(0) 编辑