The below unix shell programming will show you how to print pyramid with stars. This tutorial will also show how to use if else condition nd how to use for loop in shell programming. We will also see how to take input from keyboard.

With filled inside

Output

With filled outside only

Output

Thanks for reading.

Software Professional, I am passionate to work on web/enterprise application. For more information please go to about me. You can follow on Twitter. You can be a friend on Facebook or Google Plus or Linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.