UNIX/Linux Bash Shell Scripting: Shell Script To Print Pyramid-Using for Loop

UNIX/Linux Bash Shell Scripting: Shell Script To Print Pyramid-Using for Loop

瀏覽:391
日期:2024-08-20
#!/bin/bash # Usage: scriptname argument # Here argument is height of pyramid # Output would be pyramid pattern of stars # 0 * # 1 *** # 2 ***** # 3 ***** # 4 ***** # 5...看更多