in reply to asterisk pattern
sub la{ my $n = shift; print ' ' x ( $n - $_ ), '*' x $_ for 1 .. $n, reverse 0 .. $n - 1; };; la(3);; * ** *** ** * la(6);; * ** *** **** ***** ****** ***** **** *** ** *
|
---|
Replies are listed 'Best First'. | |
---|---|
A reply falls below the community's threshold of quality. You may see it by logging in. |