Share your repls and programming experiences

← Back to all posts
MultiplicationTable
wolverine2k (0)

The code asks for a user input and prints a table multiplying the input from 0 up to 10 printing the result in a nice format.

Homework: Ask the user to the start of the table and end of the table and print it in a good format.

eg:
Enter a number: 10
Enter start: 2
Enter end: 4
2 10 = 20
3
10 = 30
4 * 10 = 40

eg:
Enter a number: 10
Enter start: 2
Enter end: 2
2 * 10 = 20