Question: (Written in C++) Your assignment is to generate an HTML multiplication table with dimensions specified by the user. You will ask the user for the
(Written in C++) Your assignment is to generate an HTML multiplication table with dimensions specified by the user. You will ask the user for the number of rows then number of columns, and generate an HTML table of the appropriate size. The top left cell should contain the result of 1 x 1, and the bottom right cell should contain the result of num_rows x num_cols.
Each row and column may be an integer value between 1 and 12 inclusive (1 or 12 are valid). If the user does not specify a value in this range or a value that is not a valid integer, prompt the user again until you receive a valid value. You should not simply exit the program if invalid input is given.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
