Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //de 0 a 1, muestra de 100 numeros
- import java.lang.Math.*;
- public class Aleatorio{
- public static void main(String[] args){
- int N=100;
- //int N= (int)args[0];
- for(int i=0;i<N;i++){
- double azar = Math.random();
- System.out.println(azar);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement