daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest Jun 24th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #/bin/bash
  2.  
  3. for i in {1..6}; do
  4.     printf '#n'
  5.     for (( n = 0; n < $i; n++ )); do
  6.         printf '#'
  7.     done
  8. done
  9.    
  10. vivsingh@blr-mp4sj:~/Desktop$ ./staircases.sh
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top