Here, in this post we ll see how to write program for a 2's table using FOR loop function.
FOR loop : The for loop operate on lists of items. It repeats a set of commands for every item in a list.
#=========================#
#program name : 2's table #
#created by : ajay #
#=========================#
#!/bin/bash
#for loop programing in 2 table
for i in {1..10}
do
echo " 2*$i= $((2*$i)) "
done

