Question: Programming Exercise (C++) One of the basic mathematical operation we learned from the primary school is multiplication. One number multiplied to another number will result
Programming Exercise (C++)
One of the basic mathematical operation we learned from the primary school is multiplication. One number multiplied to another number will result into a product. So far, one of the easiest ways to learn multiplication is through a multiplication table. In this exercise, you will be asked to create a program that will asked for a certain number then the program shall print the multiplication table up to that n. In this program, you are required to use the nested do-while loop structure.


Test Cases: : Input: 5 Output: 1 2 2 4 3 6 4. 8 5 10 3 6 9 12 15 4 8 12 16 20 5 10 15 20 25 Input: 9 Output: 1 2 2 4 3 6 4 8 5 10 6 12 7 14 8 16 9 18 3 6 9 12 15 18 21 24 27 4 8 12 16 20 24 28 32 36 5 10 15 20 25 30 35 40 45 6 12 18 24 30 36 42 48 54 7 14 21 28 35 42 49 56 63 8 16 24 32 40 48 56 64 72 9 18 27 36 45 54 63 72 81
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
