Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that prints the following 45 pairs of numbers: 11 21 22 31 32 33 41 42 43 44 51 ... ... 97
Write a program that prints the following 45 pairs of numbers:
11 21 22 31 32 33 41 42 43 44 51 ...
... 97 98 99
Note that the first numbers go from 1 to 9, and the second numbers start at 1 and go up to the value of the first number (9 times). You must use loops to do this not 45 print statements.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started