摘要: import java.util.Scanner; public class grade1 { public static void main(String[] args) { // TODO Auto-generated method stub int score; int m; System.o 阅读全文
posted @ 2020-12-21 23:59 zhou小月 阅读(242) 评论(0) 推荐(0) 编辑
摘要: package gh; class xs{ //成员变量 int xh; String xm; int sx; int yw; int yy; //构造方法 xs(int xh1,String xm1,int sx1,int yw1,int yy1) { xh=xh1; xm=xm1; sx=sx1 阅读全文
posted @ 2020-12-21 23:58 zhou小月 阅读(653) 评论(0) 推荐(0) 编辑
摘要: public class flower1 { public static void main(String[] args) { // TODO Auto-generated method stub int i=0; int x,y,z; System.out.print("水仙花数为"); for( 阅读全文
posted @ 2020-12-21 23:51 zhou小月 阅读(160) 评论(0) 推荐(0) 编辑
摘要: /*package gl; //建立学生类xsclass xs{ //数据成员变量 int xh; String xm; String xb; int nl; //成员方法 public void showxs() { System.out.println("学号:"+xh); System.out 阅读全文
posted @ 2020-12-21 23:49 zhou小月 阅读(1282) 评论(0) 推荐(0) 编辑
摘要: package com.company; import java.util.Scanner; public class Main { int search(int a[],int number) { int high = a.length-1; int mid = 0; int low = 0; w 阅读全文
posted @ 2020-12-21 22:54 zhou小月 阅读(110) 评论(0) 推荐(0) 编辑