Pattern 14

easy
1. You are given a number n.
2. You've to write code to print it's multiplication table up to 10 in format given below.

Input Format

A number x

Output Format

<img src="http://pepcoding.com/resources/ojquestionresource/images/pat141.JPG" alt="pat141">

Constraints

1 <= n <= 10

Notice

Try First, Check Solution later

1. You should first read the question and watch the question video.
2. Think of a solution approach, then try and submit the question on editor tab.
3. We strongly advise you to watch the solution video for prescribed approach.

Example

Input
3
Output
3 * 1 = 3
3 * 2 = 6
3 * 3 = 9
3 * 4 = 12
3 * 5 = 15
3 * 6 = 18
3 * 7 = 21
3 * 8 = 24
3 * 9 = 27
3 * 10 = 30
Previous
Pattern 13
Next
Pattern 15

Related Questions