โ Back to User Input
Question 250
Multiplication Table from Input
Multiplication Table from Input
Read an integernfrom standard input and print its multiplication table from 1 to 10. Print one line per multiplier in the exact formatn x i = product, forifrom 1 to 10, each line ending with a newline. For example, if the input is2, the first line is2 x 1 = 2and the last line is2 x 10 = 20.
Expected Output:
2 x 1 = 2 2 x 2 = 4 2 x 3 = 6 2 x 4 = 8 2 x 5 = 10 2 x 6 = 12 2 x 7 = 14 2 x 8 = 16 2 x 9 = 18 2 x 10 = 20
Topics:
User Input
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.