Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package uitvoernaartekstbestand;
- import java.io.*;
- public class getallen {
- /**
- * @param args
- */
- public static void main(String[] args) throws IOException{
- PrintWriter out = new PrintWriter(new FileWriter("getallen.txt"));
- for(int i=0;i<10;i++)
- out.println(Math.random()) ;
- out.close();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement