czesc... pomorzcie... da sie to jakos przerobic, tak zeby dzialalo?
import java.math.*;
public class ciag {
public static void main(String[] args) {
int x = 1;
BigInteger y = new BigInteger("1");
BigInteger z = new BigInteger("1");
while (x <= 50){
BigInteger y = y.add(z);
BigInteger z = y.add(z);
System.out.println(y);
System.out.println(z);
x++;
}
}
}
Dzieki