# [Problem 856] # Write a program that takes a natural number as input # and prints the first 10 multiples of that number in order. # input # 5 # output # 5 10 15 20 25 30 35 40 45 50 # [Problem 857] # Write a program that takes the number of rows and columns as input # and prints a multiplication table where each row i contains multiples of i. # input # 3 4 # output # 1 2 3 4 # 2 4 6 8 # 3 6 9 12 # [Problem 858] # Write a program that takes an integer as input # and prints all ordered pairs (i, j) where i and j go from 1 to the input number. # input # 4 # output # (1, 1) (1, 2) (1, 3) (1, 4) # (2, 1) (2, 2) (2, 3) (2, 4) # (3, 1) (3, 2) (3, 3) (3, 4) # (4, 1) (4, 2) (4, 3) (4, 4)
To embed this project on your website, copy the following code and paste it into your website's HTML: