Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 22nd, 2013  |  syntax: Java  |  size: 0.19 KB  |  views: 1,100  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. for(int i = 0; i < 100; i++) {
  2.         double x = Math.random();
  3.         System.out.println(x);
  4. }
  5.  
  6.  
  7. -or-
  8.  
  9.  
  10. double x;
  11. for(int i = 0; i < 100; i++) {
  12.         x = Math.random();
  13.         System.out.println();
  14. }