Question: Write a program that prints a table as shown below. Note that this is an ungraded practice question. As shown, 7 lines are printed. Line

Write a program that prints a table as shown below. Note that this is an ungraded practice question.
As shown, 7 lines are printed. Line 1 is a table of 3(3*1,3*2,...3*9). Similarly, line 2 is a table of 4, line 3 is a table of 5, and so on until line 7, which prints a table of 9(9*1,9*2,...9*9). Hint: Use a nested loop7 lines starting from 3, ending at 9. Note the pattern on each line :).
369121518212427
4812162024283236
51015202530354045
61218243036424854
71421283542495663
81624324048566472
91827364554637281

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!