Mega Code Archive

 
Categories / Perl / System Functions
 

Random numbers produced by rand()

print "Random numbers produced by rand():\n"; for ( 1 .. 3 ) {    print "   ", rand(), "\n"; }