SHARE
TWEET

Fibonacci

DulcetAirman Jul 4th, 2018 77 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top