Question: using C++ Assume that you want to generate a table of multiples of any given number. Write a pro- gram that allows the user to
Assume that you want to generate a table of multiples of any given number. Write a pro- gram that allows the user to enter the number and then generates the table, formatting it into 10 columns and 20 lines. Interaction with the program should look like this (only the first three lines are shown): Enter a number: 7 7 14 21 28 35 42 49 56 63 70 77 84 91 98 105 112 119 126 133 140 147 154 161 168 175 182 189 196 203 210 In order to do this you can either use nested loop (for rows varying from 1 to 20 and for each row, col varying from 1 to 10, and to get the number multiply number by row number and column number to display. Make sure after each row, put a line break
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
