2017年5月10日

输出杨辉三角

摘要: package com.mingrisoft; public class YanghuiTriangle { public static void main(String[] args) { int triangle[][]=new int[8][]; // 创建二维数组 for (int i = 阅读全文

posted @ 2017-05-10 20:47 社会你锋哥 阅读(163) 评论(0) 推荐(0)

双层for循环输出九九乘法表

摘要: package course; public class MultiplicationTable { public static void main(String[] args) { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= i; j++ 阅读全文

posted @ 2017-05-10 20:00 社会你锋哥 阅读(598) 评论(0) 推荐(0)

判断成绩情况

摘要: package course; public class Getifelse { public static void main(String[] args) { int math=95; int english=56; if(math>60){ System.out.println("数学及格了" 阅读全文

posted @ 2017-05-10 18:06 社会你锋哥 阅读(141) 评论(0) 推荐(0)

导航