重启电脑出现有main advanced之类的界面怎么办
1个回答
2015-07-29
展开全部
import java.io.*;
public class app4_6
{
public static void main(String[] args) throws IOException
{
int a=0,b=1,n,num;
String str;
BufferedReader buf;
buf=new BufferedReader(new InputStreamReader(System.in));
System.out.print(":");
str=buf.readLine(); //从键盘上读入字符串赋给变量str
num= Integer.parseInt (str); //将str转换成int类型后赋给num
while (b<num)
{
n=a+b;
a=b;
b=n;
}
public class app4_6
{
public static void main(String[] args) throws IOException
{
int a=0,b=1,n,num;
String str;
BufferedReader buf;
buf=new BufferedReader(new InputStreamReader(System.in));
System.out.print(":");
str=buf.readLine(); //从键盘上读入字符串赋给变量str
num= Integer.parseInt (str); //将str转换成int类型后赋给num
while (b<num)
{
n=a+b;
a=b;
b=n;
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询