📄 chapter5n2.java
字号:
/** * * demonstration of the "for" statement * * Written by: Roger Garside * * First Written: 12/June/96 * Last Rewritten: 2/Oct/96 * */public class Chapter5n2 { /** * * main * */ public static void main(String[] args) { System.out.println("Table of Squares") ; for (int i = 0 ; i < 10 ; i++) { System.out.print("the sqare of " + i) ; System.out.println(" is " + (i * i)) ; } System.out.println("**end of table**") ; } // end of method main } // end of class Chapter5n2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -