여름 휴가 (방학)의 아홉 번째 주

이번 주 주요 기업의 많은 방문, 많은 것들을 학교에서 배울 배웠고, 또한 간단한 학생 정보 관리 시스템을 노크 :

학교 시험의 패키지;

공용 클래스 ScoreInformation {개인 문자열 stunumber = ""; 개인 문자열 이름 = ""; 개인 더블 mathematicsscore = 0; 개인 더블 englishiscore = 0; 개인 더블 networkscore = 0; 개인 더블 databasescore = 0; 개인 더블 softwarescore = 0; 공공 문자열 getstunumber () {반환 stunumber; } 공개 무효 set_stunumber (문자열 NUM) {this.stunumber NUM =; } 공공 문자열 getname () {반환 이름; } 공공 무효의 SET_NAME (문자열 이름) {this.name = 이름; } 공공 더블 getmathematicsscore () {반환 mathematicsscore; } 공공 무효 set_mathematicsscore (더블 수학) {this.mathematicsscore = 수학; } 공공 더블 getenglishiscore () {반환 englishiscore; } 공개 무효 set_englishiscoreint (영어 배) = {this.englishiscore 영어; } 공공 더블 getnetworkscore () {networkscore 반환; } 공개 무효 set_networkscore (더블 networkscore) = {this.networkscore networkscore; } 공공 더블 getdatabasescore는 () {databasescore를 반환; } 공개 무효 set_databasescore (더블 databasescore) = {this.databasescore databasescore; } 공공 더블 getsoftwarescore () {반환 softwarescore; } 공개 무효 set_softwarescoree (더블 softwarescore) = {this.softwarescore softwarescore; }} networkscore = networkscore; } 공공 더블 getdatabasescore는 () {databasescore를 반환; } 공개 무효 set_databasescore (더블 databasescore) = {this.databasescore databasescore; } 공공 더블 getsoftwarescore () {반환 softwarescore; } 공개 무효 set_softwarescoree (더블 softwarescore) = {this.softwarescore softwarescore; }} networkscore = networkscore; } 공공 더블 getdatabasescore는 () {databasescore를 반환; } 공개 무효 set_databasescore (더블 databasescore) = {this.databasescore databasescore; } 공공 더블 getsoftwarescore () {반환 softwarescore; } 공개 무효 set_softwarescoree (더블 softwarescore) = {this.softwarescore softwarescore; }}

패키지 开学 考试; 수입 java.util.Scanner; 공용 클래스 첫 번째 {정적 부울 A = 진정한; 정적 ScoreInformation [] STU 새로운 ScoreInformation = [100]; 고정 스캐너 SC = 새로운 스캐너 (System.in); 공공 정적 무효 메인 (문자열 []에 args) {// 主 函数 용 INT (I = 0; I ++] i가 5 <) {STU [I] = 새로운 ScoreInformation ()를; } STU [0] .set_stunumber ( "20183734"); STU [0] .set_name ( "闫 起 材"); STU [1] .set_stunumber ( "20183735"); STU [1] .set_name ( "小의 明을"); STU [2] .set_stunumber ( "20183736"); STU [2] .set_name ( "小红"); STU [3] .set_stunumber ( "20183737"); STU [3] .set_name ( "小 亮"); STU [4] .set_stunumber ( "20183738"); STU [4] .set_name ( "小芳"); (A) {INT 선택할 때 = 0; // 主页 面 打印에서 System.out.println ( "**************************** ******************************* "); 에서 System.out.println ( " getmathematicsscore ()> = 60 && STU [I] .getmathematicsscore () <= 63.9) {수학 = 1.0; } 경우 (STU [I] .getmathematicsscore ()> 63.9 && STU [I] .getmathematicsscore () <= 659) {수학 = 1.5; } 경우 (STU [I] .getmathematicsscore ()> = 66 && STU [I] .getmathematicsscore () <= 67.9) {수학 = 1.7; } 경우 (STU [I] .getmathematicsscore ()> = 68 && STU [I] .getmathematicsscore () <= 71.9) {수학 = 2.0; } 경우 (STU [I] .getmathematicsscore ()> = 72 && STU [I] .getmathematicsscore () <= 749) {수학 = 2.3; } 경우 (STU [I] .getmathematicsscore ()> = 75 && STU [I] .getmathematicsscore () <= 77.9) {수학 = 2.7; } 경우 (STU [I] .getmathematicsscore ()> = 78 && STU [I] .getmathematicsscore () <= 81.9) {수학 식 3; } 경우 (STU [I] .getmathematicsscore ()> = 82 && STU [I] .getmathematicsscore () <= 84.9) {수학 = 3. 삼; } 경우 (STU [I] .getmathematicsscore ()> = 85 && STU [I] .getmathematicsscore () <= 89.9) {수학 = 3.7; } 경우 (STU [I] .getmathematicsscore ()> = 90) {수학 = 4.0; } 경우 (STU [I] .getmathematicsscore () <60) {수학 = 0; } // 数学 경우 (STU [I] .getenglishiscore ()> = 60 && STU [I] .getenglishiscore () <= 63.9)을 {= 1.0 영어; } 경우 (STU [I] .getenglishiscore ()> 63.9 && STU [I] .getenglishiscore () <= 659) {= 1.5 영어; } 경우 (STU [I] .getenglishiscore ()> = 66 && STU [I] .getenglishiscore () <= 67.9) = {1.7 영어; } 경우 (STU [I] .getenglishiscore ()> = 68 && STU [I] .getenglishiscore () <= 71.9) = {2.0 영어; } 경우 (STU [I] .getenglishiscore ()> = 72 && STU [I] .getenglishiscore () <= 749) {= 2.3 영어; } 경우 (STU [I] .getenglishiscore ()> = 75 && STU [I] .getenglishiscore () < = 77.9) = {2.7 영어; } 경우 (STU [I] .getenglishiscore ()> = 78 && STU [I] .getenglishiscore () <= 81.9) = {3.0 영어; } 경우 (STU [I] .getenglishiscore ()> = 82 && STU [I] .getenglishiscore () <= 84.9) = {3.3 영어; } 경우 (STU [I] .getenglishiscore ()> = 85 && STU [I] .getenglishiscore () <= 89.9) = {3.7 영어; } 경우 (STU [I] .getenglishiscore ()> = 90) {= 4.0 영어; } // 英语 경우 (STU [I] .getnetworkscore () <60) {0 = 순; } 경우 (STU [I] .getnetworkscore ()> = 60 && STU [I] .getnetworkscore () <= 63.9)을 {순 = 1.0; } 경우 (STU [I] .getnetworkscore ()> 63.9 && STU [I] .getnetworkscore () <= 65.9)을 {순 = 1.5; } 경우 (STU [I] .getnetworkscore ()> = 66 && STU [I] .getnetworkscore () <= 67.9)을 {순 = 1.7; } 경우 (STU [I] .getnetworkscore ()> = 68 && STU [I] .getnetworkscore () <= 71. 9) {순 = 2.0; } 경우 (STU [I] .getnetworkscore ()> = 72 && STU [I] .getnetworkscore () <= 74.9)을 {순 = 2.3; } 경우 (STU [I] .getnetworkscore ()> = 75 && STU [I] .getnetworkscore () <= 77.9)을 {순 = 2.7; } 경우 (STU [I] .getnetworkscore ()> = 78 && STU [I] .getnetworkscore () <= 81.9)을 {순 = 3.0; } 경우 (STU [I] .getnetworkscore ()> = 82 && STU [I] .getnetworkscore () <= 84.9)을 {순 = 3.3; } 경우 (STU [I] .getnetworkscore ()> = 85 && STU [I] .getnetworkscore () <= 89.9)을 {순 = 3.7; } 경우 (STU [I] .getnetworkscore ()> = 90) {순 = 4.0; } // 计算机 경우 (STU [I] .getdatabasescore () <60) {날짜 = 0; } 경우 (STU [I] .getdatabasescore ()> = 60 && STU [I] .getdatabasescore () <= 63.9) {날짜 = 1.0; } 경우 (STU [I] .getdatabasescore ()> 63.9 && STU [I] .getdatabasescore () <= 659) {날짜 = 1.5; } 경우 (STU [I] .getdatabasescore ()> = 66 && STU [I] .getdatabasescore () <= 67.9) {날짜 = 1.7; } 경우 (STU [I] .getdatabasescore ()> = 68 && STU [I] .getdatabasescore () <= 71.9) {날짜 = 2.0; } 경우 (STU [I] .getdatabasescore ()> = 72 && STU [I] .getdatabasescore () <= 749) {날짜 = 2.3; } 경우 (STU [I] .getdatabasescore ()> = 75 && STU [I] .getdatabasescore () <= 77.9) {날짜 = 2.7; } 경우 (STU [I] .getdatabasescore ()> = 78 && STU [I] .getdatabasescore () <= 81.9) {날짜 = 3.0; } 경우 (STU [I] .getdatabasescore ()> = 82 && STU [I] .getdatabasescore () <= 84.9) {날짜 = 3.3; } 경우 (STU [I] .getdatabasescore ()> = 85 && STU [I] .getdatabasescore () <= 89.9) {날짜 = 3.7; } 경우 (STU [I] .getdatabasescore ()> = 90) {날짜 = 4.0; } // 数据库 경우 (STU [I] .getsoftwarescore () <60) {소프트 = 0; } 경우 (STU [I] .getsoftwarescore ()> = 60 && STU [I] .getsoftwarescore () <= 63.9)을 {소프트 = 1.0; } 경우 (STU [I] .getsoftwarescore ()> 63.9 && STU [I] .getsoftwarescore () <= 65.9)을 {소프트 = 1.5; } 경우 (STU [I] .getsoftwarescore ()> = 66 && STU [I] .getsoftwarescore () <= 67.9)을 {소프트 = 1.7; } 경우 (STU [I] .getsoftwarescore ()> = 68 && STU [I] .getsoftwarescore () <= 71.9)을 {소프트 = 2.0; } 경우 (STU [I] .getsoftwarescore ()> = 72 && STU [I] .getsoftwarescore () <= 74.9)을 {소프트 = 2.3; } 경우 (STU [I] .getsoftwarescore ()> = 75 && STU [I] .getsoftwarescore () <= 77.9)을 {소프트 = 2.7; } 경우 (STU [I] .getsoftwarescore ()> = 78 && STU [I] .getsoftwarescore () <= 81.9)을 {소프트 = 3.0; } 경우 (STU [I] .getsoftwarescore ()> = 82 && STU [I] .getsoftwarescore () <= 84.9)을 {소프트 = 3.3; } 경우 (STU [I].

 다음 주, 가장 중요한 그들의 연구한다.

 

추천

출처www.cnblogs.com/studya/p/11493904.html