SiteMap
INTERVIEW
C PROGRAMS
.NET
JAVA
ORACLE & SQL
WEB TECHBOLOGY
KENDO UI
LINUX/SHELL Scripts
NICE READS
Sunday, July 19, 2015
SHELL SCRIPT TO PRINT N TRIANGLE
TRIANGLE:
echo "Triangle"
for((i=1;i<=5;i++))
do
for((j=1;j<=i;j++))
do
echo -n $i
done
echo -e "\n"
done
OUTPUT:
Triangle
1
22
333
4444
55555
[2k7ca324@localhost ~]$
No comments:
Post a Comment
Thanks for your valuable comments
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Popular Posts
IMPLEMENTATION OF A SINGLE PASS ASSEMBLER
KENDO GRID GET SELECTED ROWS USING CHECKBOX
TOKEN SEPARATION Program In C
HOW TO FORMAT COLUMN IN KENDO GRID
KENDO GRID HEADER STYLES
No comments:
Post a Comment
Thanks for your valuable comments