Unit 2 Task 19: Shop times table poster

Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.

Unit 2 Task 19 - Shop times table poster

← Unit 2 tasks · Solution


A shop sells items in packs of N. Print a small poster: for multipliers 1 through 12, print a line like 3 x 7 = 21 (if N were 7).

Ask once for N (integer). Use a for loop.

Skills: for, range, formatted output.