Position: Home page » Pool » BIGone terminate sero pool

BIGone terminate sero pool

Publish: 2021-03-30 10:35:53
1. 刚看到,都考完试了吧
public class MmcqtJava {
/**
* 定义两个循环控制变量,一个自增一个自减,当两者的大小关系改变时终止循环,并打印出当前值
* @param args
*/
public static void main(String[] args) {

int bigOne = 12; // 大数自增加
int smallOne = 3; // 小数自递减
for (; bigOne >= smallOne; ) {
if (bigOne == smallOne) {
System.out.println("bigOne = " + bigOne);
System.out.println("smallOne = " + smallOne);
break;
}
smallOne++;
if (bigOne == smallOne) {
System.out.println("bigOne = " + bigOne);
System.out.println("smallOne = " + smallOne);
break;
}
bigOne--;
}

}

}
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750