Pattern 14

Interview prepration- Our coding bootcamp focusing on online coding challenges and competitive programming, delivered to.

Pattern 14

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.

Question
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
pat141
Constraints
1 <= n <= 10
Sample Input
3
Sample 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

Asked in Companies

Related Topics

Output  Time   Memory
Expected Output

 
Output  Time   Memory
Id Name