Mega Code Archive

 
Categories / Perl / System Functions
 

Random numbers produced by rand( 100 )

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