Question: Write a program that displays the multiplication table of a given size. First, your program should ask the user about the size (height and weight
Write a program that displays the multiplication table of a given size. First, your program should ask the user about the size (height and weight are equal, so one number should be enough). If the size is greater than 20, the program should print the message: "Matrix too big." Then it should allocate a matrix and fill this matrix with appropriate values (remember: the element of [0][0] should store the multiplication result of 1 and 1). Then the program should print the multiplication table, 4 characters per cell. All memory must be freed at the end.
C++ use
example
input : 3
output:
1 2 3
1 1 2 3
2 2 4 6
3 3 6 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
