Task 2: Multiples Write a program that asks the user for an integer n, and then prints first 10 multiples of that integer. Use a while/do...while loop. Example: Enter an integer: 2 Output: 2 x 1 = 2 2...


Task 2: Multiples<br>Write a program that asks the user for an integer n, and then prints first 10 multiples of that integer. Use a<br>while/do...while loop.<br>Example:<br>Enter an integer: 2<br>Output:<br>2 x 1 = 2<br>2 x 2 = 4<br>2 х 3 %3D 6<br>2 x 4 = 8<br>2 x 5<br>= 10<br>12<br>2 х6<br>2 x 7<br>2 х8<br>14<br>16<br>2 x 9<br>18<br>2 x 10 =<br>20<br>

Extracted text: Task 2: Multiples Write a program that asks the user for an integer n, and then prints first 10 multiples of that integer. Use a while/do...while loop. Example: Enter an integer: 2 Output: 2 x 1 = 2 2 x 2 = 4 2 х 3 %3D 6 2 x 4 = 8 2 x 5 = 10 12 2 х6 2 x 7 2 х8 14 16 2 x 9 18 2 x 10 = 20

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here