30Multiplication Table

Create a program that generates multiplication tables for the numbers 0 through 12.

Example Output

 
0 X 0 = 0
 
0 X 1 = 0
 
....
 
12 x 11 = 132
 
12 x 12 = 144

Constraint

  • Use a nested loop to complete this program.

Challenges

  • Create a graphical program. Use a drop-down list to change the base number. Generate or update the table when the number is selected.

  • Generate a single multiplication table like the following:

images/repetition/multiplication_table.png

Get Exercises for Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.