java第一次作业
package com.hoko; public class Test { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("193230401 计算机1904 陈杭威"); } }
package com.hoko; public class Test { 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 com.hoko; public class Test { public static void main(String[] args) { // TODO Auto-generated method stub int a=5,b=8,c; c=a*a+b*b; System.out.println(c); } }