In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
< 5; i++){ if(a[i].getStunumber().equals(m)) { x.inMath(a[i]); double d1 = in.nextDouble(); a[i].setMath(d1); x.inEng(a[i]); double d2 = in.nextDouble(); a[i].setEng(d2); x.inNet(a[i]); double d3 = in.nextDouble(); a[i].setNet(d3); x.inData(a[i]); double d4 = in.nextDouble(); a[i].setData(d4); x.inSoft(a[i]); double d5 = in.nextDouble(); a[i].setSoft(d5); x.inall(a[i]); String c = in.next(); if(c.equals("N")){ a[i].setMath(0); a[i].setEng(0); a[i].setNet(0); a[i].setData(0); a[i].setSoft(0); } x.mainsur(); temp1 = 1; break; } } if(temp1 == 0) { System.out.println("该学号不存在"); x.mainsur(); } } public void stem2(ScoreInformation a[]){ //执行学生成绩修改操作。 int temp1 = 0; double r1,r2,r3,r4,r5; x.changeStun(); String m = in.next(); for(int i = 0; i < 5; i++){ if(a[i].getStunumber().equals(m)) { r1 = a[i].getMath(); r2 = a[i].getEng(); r3 = a[i].getNet(); r4 = a[i].getData(); r5 = a[i].getSoft(); x.outscore(a[i]); int c = in.nextInt(); switch(c){ case 1: x.changeMath(a[i]); double d1 = in.nextDouble(); a[i].setMath(d1); break; case 2: x.changeEng(a[i]); double d2 = in.nextDouble(); a[i].setEng(d2); break; case 3: x.changeNet(a[i]); double d3 = in.nextDouble(); a[i].setNet(d3); break; case 4: x.changeData(a[i]); double d4 = in.nextDouble(); a[i].setData(d4); break; case 5: x.changeSoft(a[i]); double d5 = in.nextDouble(); a[i].setSoft(d5); break; default: System.out.println("无该选项,返回主界面"); x.mainsur(); break; } x.overchange(a[i]); String h = in.next(); if(h.equals("N")){ a[i].setMath(r1); a[i].setEng(r2); a[i].setNet(r3); a[i].setData(r4); a[i].setSoft(r5); } x.mainsur(); temp1 = 1; break; } } if(temp1 == 0) { System.out.println("该学号不存在"); x.mainsur(); } } public void stem3(ScoreInformation a[]){ //执行绩点计算操作 Main v = new Main(); double R; double r1,r2,r3,r4,r5; double x1,x2,x3,x4,x5; x.startgrade(); String m = in.next(); for(int i = 0; i < 5; i++){ if(a[i].getStunumber().equals(m)) { r1 = a[i].getMath();x1 = v.Gpoint(r1); r2 = a[i].getEng();x2 = v.Gpoint(r2); r3 = a[i].getNet();x3 = v.Gpoint(r3); r4 = a[i].getData();x4 = v.Gpoint(r4); r5 = a[i].getSoft();x5 = v.Gpoint(r5); R = (x1*r1+x2*r2+x3*r3+x4*r4+x5*r5)/(r1+r2+r3+r4+r5); if(R>= 2) {x.endscore1 (a [I], R);} else {x.endscore2 (a [I], R);} String Q = in.next (); if (q.equals ("Y")) {x.mainsur ();} break } public double Gpoint (double d) {/ / return credits corresponding to double e = 0; if (d > = 90.0) e = 4.0; else if (d > = 85&&d=82&&d=78&&d=75&&d=72&&d=68&&d=66&&d=64&&d=60&&d)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.