📄 ex3_2.java
字号:
import java.io.*;
public class ex3_2
{
public static void main(String[ ] args)throws IOException
{
int x,y;
BufferedReader in = new BufferedReader(
new InputStreamReader(System.in));
System.out.println("Enter x and y:");
x=(new Integer(in.readLine())).intValue();
y=(new Integer(in.readLine())).intValue();
if (x!=y)
if (x>y) System.out.println("x>y");
else System.out.println("x<y");
else System.out.println("x=y");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -