TotalCodes
Menu
Android
Data Structure
Oracle(PL/SQL)
Shell Scripts
Monday, 27 May 2013
Shell Script to find table of a number
echo -n "Enter the Number:- "
read n1
cnt=1
while [ $cnt -le 10 ]
do
echo -n " $n1 X $cnt = "
tmp=$(( $n1 * $cnt ))
echo $tmp
cnt=$(($cnt + 1))
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment