📄 showlogicerrors.java
字号:
// program contains a logic errors
public class ShowLogicErrors
{
// Determine if a number is between 1 and 100 inclusively
public static void main(String[] args)
{
// Prompt the user to enter a number
System.out.println("Please enter an integer");
int number = MyInput.readInt();
// Display the result
System.out.println("The number is between 1 and 100, inclusively? " +
((1 < number) && (number < 100)));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -