Print multiplication table of any number (like 5 × 1 = 5, 5 × 2 = 10...)
Real Life: Like the multiplication tables you learn in school.
An integer N (number whose table is to be printed).
Multiplication table of N from 1 to 10.
• N is an integer
• Typically print table up to 10
A multiplication table shows the result of multiplying a number by 1 to 10.
This is the same concept taught in school.
1.Take input number N.
2.Loop i from 1 to 10.
3.For each i, calculate N * i.
4.Print in the format: N x i = result.
5.Continue until i = 10.