?? number3.java
字號:
import javax.swing.JOptionPane;
public class Number3{
public static void main(String[] args){
String output = "";
double incressNumber=1.075;
int year = 0;
while(true){
if (incressNumber >= 4){
break;
}
incressNumber *= 1.075;
year ++;
}
output += year + " years later the XXX will incress 4 times!";
JOptionPane.showMessageDialog(null,output,"Example 3 Output",JOptionPane.INFORMATION_MESSAGE);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -