main函数输入psvm 在方法体中有for循环,在IntellJ中是输入fori System.out.println();在IntellJ中是输入sout ctrl+alt+t 在idea中添加try/catch的快捷键 Alt+Ent...