MediaTek interview question

print Multiplication Table in a for loop