Random number generator

Generates psudorandom numbers

Min value
Max value
How many numbers would you like? (max=1000)
Seperator (nl for new line)

Results

';
  if($_GET['count']>1000) $_GET['count'] =1000;
  for($i = 0; $i<$_GET['count']; $i++){
    $val =  rand($_GET['min'], $_GET['max']);
    echo $sep.$val;
    $sum+=$val;
    $sep=$_GET['sep'];
  }
  echo "

------
SUM = $sum
Average = ".($sum/$_GET['count']);

  echo '
'; } ?>

Send feedback to:

See source code