Solution Review: Product of Two Positive Integers
This lesson contains the solution review for the challenge to find the product of two numbers.
We'll cover the following...
We'll cover the following...
Let’s discuss the solution to the challenge in the previous lesson. The problem was to find the product of two positive integers.
Implementation
Let’s have a look at the implementation below:
Explanation
The hint indicated the following:
5 * 3 = 5 + 5 + 5 = 15
We make use of the hint in the implementation. Let’s skip the code on ...