Question: C++ ( in .cpp file ) Task 1: Multiples Write a program that asks the user for an integer n, and then prints furst 10
Task 1: Multiples Write a program that asks the user for an integer n, and then prints furst 10 multiples of that integer. Sample interaction: Enter as integert 2 21=222=423=624=825=1626=1227=1428=1629=18210=20 Task 2: Series Write a program that asks user for three integers a,b and n, and then prints the following series: (a+20b),(a+20b+21b),(a+20b+21b++2n1b) Sample interaction Inputis 335 Outout: 1425 se si Explanation: s0=5+13=8s1=5+13+23=14s2=5+13+23+43=26s3=5+13+23+43+83=50s4=5+13+23+43+83+163=98 Task 3: Digits Write a program that takes an integer ss an ingut from the SToin then prints each digit in the number from the lerit significant digit to the most significint digit. Sample interation pleme emter a sumert niti Hint: Use division and/or modulus
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
