JAVA第一次作业
package chap1; public class Testhello2 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("193230529 计算机1905 薛增辉"); } }
package chap1; public class Testhello { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(" *"); System.out.println(" ***"); System.out.println("*****"); System.out.println(" ***"); System.out.println(" *"); } }
package chap1; public class Testhello3 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int a=5; int b=8; System.out.println(a*a+b*b); } }
posted on 2021-03-07 15:41 HumbleSwag 阅读(37) 评论(0) 编辑 收藏 举报