Problem list
Log in
#r02962 · Online Judge > GoldOJ

Multiplication Tables A to B

Bronze III 2.0 s 1024 MB

Given $a \le b$, print the multiplication tables from $a$ to $b$, each as d*1=.. through d*9=.. (no spaces), with no blank lines.

Input

Two integers $a$ and $b$ ($1 \le a \le b \le 9$).

Output

Print the tables for $a$ through $b$, one line per product.

Example 1

Input
2 3
Output
2*1=2
2*2=4
2*3=6
2*4=8
2*5=10
2*6=12
2*7=14
2*8=16
2*9=18
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
Source
Online Judge > GoldOJ
Appears in
Not part of a ladder, contest or set yet.
Accepted 0 Submissions 0 Acceptance 0% Solvers 0

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code