📄 output.java~1~
字号:
package luxuan;import java.io.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2004</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Output { static int n; public int input(){ try { BufferedReader br =new BufferedReader(new InputStreamReader(System.in)); System.out.println("输入你的螺旋矩阵的n:"); String s =br.readLine(); n = Integer.parseInt(s); } catch(IOException e){} return n; } public static void main(String[] args){ Output out = new Output(); n = out.input(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -