📄 fibonacci.java
字号:
//Fibonacci.java
public class Fibonacci{
public static void main(String []args){
int low=1,high=1;
System.out.println("***The Fibonacci serial***");
System.out.print(low+"\t");
for(int i=2; i<30; i++){
System.out.print(high+"\t");
if(i%10==0)
System.out.println("\n");
high=low+high;
low=high-low;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -