check the result using loop for Multiplication table