DulcetAirman

Fibonacci

Jul 4th, 2018
83
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     for (int a = 0, fib = 1; fib <= 100;) {
  2.       System.out.println(fib);
  3.       fib = a + (a = fib);
  4.     }
RAW Paste Data