Task 4 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

2.3 Iteration — multiply by adding

Total: 0 / 4 pts
Practice mode — check each part and get hints as you go.
Task

Read two numbers and print their product — but compute it by repeated addition with a while loop, not with *.

Input 3 4 gives 12.

Your solution