JAVA实验报告(一二三次实验代码完整版矿大).docVIP

  • 3
  • 0
  • 约2.71万字
  • 约 36页
  • 2016-01-09 发布于湖北
  • 举报

JAVA实验报告(一二三次实验代码完整版矿大).doc

JAVA实验报告(一二三次实验代码完整版矿大).doc

第一题: public class chengfabiao { public static void main(String args[]) { System.out.println(*+ +1+ +2+ +3+ +4+ +5+ +6+ +7+ +8+ +9); int i; int j; for(i=1;i=9;i++) { System.out.print(i+ ); for(j=1;j=i;j++) { System.out.print(i*j+ ); } System.out.println(); } } } 第二题: import java.util.Scanner; public class zhuanhuan { /*public int mon; public static void input(String args[]) { System.out.println(Please input your nubmers:); System.in.print(mon); }*/ public static void main(String args[]) { //输入月份数 System.out.println(Please input your nubm

文档评论(0)

1亿VIP精品文档

相关文档