daily pastebin goal
7%
SHARE
TWEET

Aleatorio.java

alduncin Jul 1st, 2013 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //de 0 a 1, muestra de 100 numeros
  2. import java.lang.Math.*;
  3. public class Aleatorio{
  4.     public static void main(String[] args){
  5.         int N=100;
  6.         //int N= (int)args[0];
  7.         for(int i=0;i<N;i++){
  8.         double azar = Math.random();
  9.         System.out.println(azar);
  10.         }
  11.     }
  12. }
RAW Paste Data
Top