filename: 4 5 10 25 25 25 123 50 nawk '{ printf("%s x %s = %s \n", $1, $2, $1*$2)}' filename
while read a b;do echo $((a*b));done<file