Advertisement
Kwintendr

Untitled

Jan 19th, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.32 KB | None | 0 0
  1. package uitvoernaartekstbestand;
  2. import java.io.*;
  3. public class getallen {
  4.  
  5.     /**
  6.      * @param args
  7.      */
  8.     public static void main(String[] args) throws IOException{
  9.        
  10.         PrintWriter out = new PrintWriter(new FileWriter("getallen.txt"));
  11.         for(int i=0;i<10;i++)
  12.             out.println(Math.random()) ;
  13.         out.close();
  14.     }
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement