skip to main |
skip to sidebar
1 12 123 1234 12345 Pattern Using Shell Programme
#!/bin/sh
c=6;
m=1;
for((i=1;i<=5;i++))
do
for((k=1;k<=c;k++))
do
echo -n " "
done
for((j=1;j<=i;j++))
do
echo -n "$j"
echo -n " "
done
c=$(($c-1))
echo -e " "
done
exit 0
Just Programming Cse DriveReputation Management
No comments:
Post a Comment