programming-examples/perl/Statement/Nested for loop.pl
2019-11-15 12:59:38 +01:00

6 lines
134 B
Perl

for ($rows=5; $rows>=1; $rows--){
for ($columns=1; $columns<=$rows; $columns++){
printf "*";
}
print "\n";
}