Challenge 18

n-Times Table

Open in Code Editor or Copy Instructions
...solutions at bottom of page...

Create a procedure which takes in parameters representing the times table to output and the maximum value to multiply by

Examples:

Assume argument values of 5, 1000, the expected output would be as follows

1 * 5 = 5

2 * 5 = 10

....

1000 * 5 = 5000

Extension:

Ensure your program can work with real numbers too - e.g. the 0.5, PI or e times table

Solutions

IGCSE 0478 / O-Level 2210 A-Level 9618