โ Back to Loops
Question 120
Multiplication Table of N
Multiplication Table of N
Read an integer N and print its multiplication table from 1 to 10, one line each as 'N x i = result'. Example (N = 3): 3 x 1 = 3 ... 3 x 10 = 30
Expected Output:
3 x 1 = 3 3 x 2 = 6 3 x 3 = 9 3 x 4 = 12 3 x 5 = 15 3 x 6 = 18 3 x 7 = 21 3 x 8 = 24 3 x 9 = 27 3 x 10 = 30
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.