Write a program to print the multiplication table of entered number.
echo "Enter the number to get its multiplication table"
read num
echo "Enter the number till where you want the table to be printed"
read end
mul=1
while [ $mul -le $end ]
do
table=`expr $num \* $mul`
echo "$num * $mul = $table"
mul=`expr $mul + 1`
done
Shopping In MUMBAI
Are you searching for Discounts, offers, sale in Mumbai ? You are in the right place. MUMBAI, a shopping haven, has no dearth of great discounts and sales. This blog features the best MUMBAI shopping offers, sale, discounts and deals and bargains CURRENTLY GOING on in Mumbai plus a few free things thrown in on top.
Don't wait for it because once they are gone, they are gone. Hurry!..By clicking the "Like" button you will receive a daily update of discounts, sale, offers going on in Mumbai. LIKE IT.... SHARE IT...njoY.
Tuesday, January 20, 2009
UNIX program to print the multiplication table
Posted by ars at 6:04 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment