?? guess1.java
字號:
class Guess1 {
public static void main(String args[])
throws java.io.IOException {
int i;
char num ='6';
System.out.println("a number between 0 and 10.");
System.out.print("what is it: ");
// 從鍵盤上輸入一個數字
i = System.in.read();
if(i==num) System.out.println("You are talent!");
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -