Thursday, 19 December 2019

Inverted Half Pyramid


#===================================
# Tanzila Islam
# Email: tanzilamohita@gmail.com
#===================================

read rows
for((i=rows; i>=1; i--))
do
  for((j=1; j<=i; j++))
  do
    echo -n "* "
  done
  echo
done

No comments:

Post a Comment