Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how do I do this question?? It is meant to be done on python btw. QUESTION 1 (25 MARKS) Write a program to print out

image text in transcribedimage text in transcribedimage text in transcribed

how do I do this question?? It is meant to be done on python btw.

QUESTION 1 (25 MARKS) Write a program to print out any sized multiplication table between 1 to 20 (inclusive). A sample output (e.g., 10x10) is shown below Enter the size of the multiplication table (1-20) 10 10x10 Times Table 2 9 10 9 10 2 I24 6 810 12 14 16 18 20 3 I36 9 12 15 18 21 24 27 30 41 48 12 16 20 24 28 32 36 40 5 I5 10 15 20 25 30 35 40 45 50 6 12 18 24 30 36 424854 60 7 14 21 28 35 42 49 56 63 70 8 16 24 3240 4856 6472 80 9 18 27 36 45 54 63 7281 90 1010 20 30 4050 60 70 8090 100 2 Note that the size of the multiplication table is obtained from the user input, i.e., an integer value between 1 and 20 (both inclusive). This means that the layout of the table varies according to the given size. For example, a 4x4 table and a 7x7 table will have the following different output. Enter the size of the multiplication table (1-20) 4 4x4 Times Table 1 234 3 3 6 9 12 414 8 12 16 Enter the size of the multiplication table (1-20)7 7x7 Times Table 1 234 5 6 7 2 2 468 10 12 14 3 3 6 9 12 15 18 21 414 812 16 20 24 28 5 1 5 10 15 20 25 30 35 61 6 12 18 24 30 36 42 71 7 14 21 28 35 42 49 Your program must give the correct output in the same format as the outputs in the examples

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle RMAN For Absolute Beginners

Authors: Darl Kuhn

1st Edition

1484207637, 9781484207635

More Books

Students also viewed these Databases questions