programming-examples/perl/Statement/Standard for structure- Loops 5 times, printing the multiples of 5 from 0-20.pl
2019-11-15 12:59:38 +01:00

5 lines
90 B
Perl

for ( $number = 0; $number <= 20; $number += 5 ) {
print "$number ";
}
print "\n";