============================================================
 MULTIPLICATION TABLE GENERATOR - Demo Run
============================================================

--- for-loop table (7, up to 10) ---
  7 x 1 = 7
  7 x 2 = 14
  7 x 3 = 21
  7 x 4 = 28
  7 x 5 = 35
  7 x 6 = 42
  7 x 7 = 49
  7 x 8 = 56
  7 x 9 = 63
  7 x 10 = 70

--- while-loop table (7, up to 10) -- confirming identical output ---
  for-loop and while-loop results identical: True

--- Nested-loop grid (6x6) ---
       1  2  3  4  5  6
    1  1  2  3  4  5  6
    2  2  4  6  8 10 12
    3  3  6  9 12 15 18
    4  4  8 12 16 20 24
    5  5 10 15 20 25 30
    6  6 12 18 24 30 36

--- continue: skip multiples of 3 (table of 4, up to 10) ---
  4 x 1 = 4
  4 x 2 = 8
  4 x 4 = 16
  4 x 5 = 20
  4 x 7 = 28
  4 x 8 = 32
  4 x 10 = 40

--- break: stop table of 6 once result exceeds 40 ---
  6 x 1 = 6
  6 x 2 = 12
  6 x 3 = 18
  6 x 4 = 24
  6 x 5 = 30
  6 x 6 = 36
    (stopped early: 6 x 7 = 42 exceeds 40)

============================================================
 Assignment: right-aligned grid for 1..N
============================================================
       1  2  3  4  5  6  7  8  9
    1  1  2  3  4  5  6  7  8  9
    2  2  4  6  8 10 12 14 16 18
    3  3  6  9 12 15 18 21 24 27
    4  4  8 12 16 20 24 28 32 36
    5  5 10 15 20 25 30 35 40 45
    6  6 12 18 24 30 36 42 48 54
    7  7 14 21 28 35 42 49 56 63
    8  8 16 24 32 40 48 56 64 72
    9  9 18 27 36 45 54 63 72 81
