thanks. I did that and this is what i get. Why is "low" constantly changing its value, should it not have a set value of 2, that is what keeps confusing me.
int low = 2;
...
Type: Posts; User: sudesh
thanks. I did that and this is what i get. Why is "low" constantly changing its value, should it not have a set value of 2, that is what keeps confusing me.
int low = 2;
...
int low = 2;
int high = 1;
while (high < 10){
System.out.println(high);
int temp = high;
high = high + low;
low =...