最赞回答 / 慕村2254012
package duojiaqi;public class HelloWorld { public static void main(String[] args) { // 变量保存成绩 int score = 53; // 变量保存加分次数 int count = 0; //打印输出加分前成绩 System.out.println("加分前成绩:"+score); // 只要成绩小于60,就循环执行加分...
2020-02-06
最赞回答 / 慕九州9121542
public class HelloWorld{ public static void main(String[] args) { int one = 10 ; int two = 20 ; int three = 0 ; System.out.println("three = one + two ==>"+ (three=one+two)); System.out.println("three += one ==>"+ (...
2020-02-06
最新回答 / 慕九州9121542
public class HelloWorld{ public static void main(String[] args) { int one = 10 ; int two = 20 ; int three = 0 ; System.out.println("three = one + two ==>"+ (three=one+two)); System.out.println("three += one ==>"+ (...
2020-02-06
最赞回答 / 流风之回雪
如果是<60,则当score加到score=60时就停止继续加,如果是<=60,则当score=60时,count+=1和score++还会再执行一次,变成score=61,count=8才停止。
2020-02-06