📅  最后修改于: 2022-03-11 14:46:08.577000             🧑  作者: Mango
public class testint
{
public static void main(String[] args)
{
int a=1;
int i=2;
int m;
for(int k=0;k<=8;k++)
{
m=a+i;
System.out.println9"The value is : ", m);
a=i;
i=m;
}
}
}