Graderpractice for programmers

Back to 254271 Fun of Prog 63 - Review 2

G. Three times table

Problem

Write a program that prints out 0 x 3 = 0, 1 x 3 = 3, up to 3 x 20 = 60. Use a loop.

Examples

Input


                

Output

0 x 3 = 0
1 x 3 = 3
2 x 3 = 6
3 x 3 = 9
4 x 3 = 12
5 x 3 = 15
6 x 3 = 18
7 x 3 = 21
8 x 3 = 24
9 x 3 = 27
10 x 3 = 30
11 x 3 = 33
12 x 3 = 36
13 x 3 = 39
14 x 3 = 42
15 x 3 = 45
16 x 3 = 48
17 x 3 = 51
18 x 3 = 54
19 x 3 = 57
20 x 3 = 60

Submit your solution

java