Write a shell script to print the following pattern * *** ***** ******* *********

 




 Write a shell script to print the following pattern

                         *

                       ***

                     *****

                   *******

                  *********


 

Program =





#!/bin/bash

echo "Utsav Gohel  91900104011"

echo "Enter the lower limit  = "

read limit

echo"\n"

for((i=1;i<=limit;i++))

do

  for((j=1;j<=$i;j++))

    do

      echo -n "*"

    done

    echo ""

done




Output =