Computer and Information Technology notes
Home
Programs »
Java Programs
C Programs
Shell Programs
Practical Programs »
Data Structures
Web Programming
ComputerNetwork
DBMS
OperatingSystem
OpenSource(OST)
ComputerGraphic
Microcontroller
Advanced DBMS
SWS
E-books »
First Year
Computer
I.T.
Mumbai University »
Question Paper
Solved Programs
Sitemap
Placements
Shell Program - Pattern 1
1
11
111
1111
11111
CODE:
echo "enter number of lines:"
read n
for((i=1;i<=n;i++))
do
for((j=1;j<=i;j++))
do
echo -ne "1"
done
echo " "
done
OUTPUT:
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment