Problem list
Log in
#r02752 · Online Judge > GoldOJ

Multiplication Table

Bronze IV 2.0 s 1024 MB

Given $n$ ($1 \le n \le 9$), print the multiplication table of $n$ from $n\times1$ to $n\times9$ in the form n*k=nk, one per line.

Input

One integer $n$ ($1 \le n \le 9$).

Output

Print n*1=... through n*9=..., one per line, with no spaces.

Example 1

Input
3
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
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