top of page

PROGRAMMING CHALLENGES

Multiplication Table

Difficulty:

1 Easy

1.7 Iteration (for loops)

Topic:

Write a program that prompts the user to enter a number, and then outputs the multiplication table for that number up to a specified limit (e.g., 12).

INPUTS: Number (integer), limit (integer)

PROCESSES:
1. Accept user input for the number and the limit
2. Use a for loop to iterate from 1 to the limit
3. Inside the loop, multiply the number with the current iteration value and print the result

OUTPUTS: Multiplication table for the given number up to the specified limit (strings)

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page