📅  最后修改于: 2022-03-11 14:49:27.295000             🧑  作者: Mango
#Bash Shell Script to print half pyramid using *
rows=4
for((i=1; i<=rows; i++))
do
for((j=1; j<=i; j++))
do
echo -n "* "
done
echo
done