MediaTek Interview Question

print Multiplication Table in a for loop