showwhile.java
来自「《A first book of java》by Gary J.Bronson 」· Java 代码 · 共 15 行
JAVA
15 行
public class ShowWhile
{
public static void main(String[] args)
{
int count;
count = 1; // initialize count
while (count <= 10)
{
System.out.print(count + " ");
count++; // increment count
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?