programming-examples/perl/SystemFunction/Random numbers produced by rand( 100 ).pl

5 lines
111 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
print "\nRandom numbers produced by rand( 100 ):\n";
for ( 1 .. 3 ) {
print " ", rand( 100 ), "\n";
}