<prompt> Come up with an algorithm to multiply two given numbers.9, 5  <response>: Heres an algorithm to multiply two given numbers, x and y:1. Initialize a variable result to 0.2. Create a loop that will iterate y times.3. In each iteration, add the value of x to the result.4. After the loop finishes, return the value of result.So, for the given input, x 9 and y 5, the algorithm would work like this:1. result 02. The loop will iterate 5 times.3. In the first iteration, result result x will result in result 9.4. In the second iteration, result result x will result in result 18.5. In the third iteration, result result x will result in result 27.6. In the fourth iteration, result result x will result in result result 36.7. In the fifth iteration, result result x will result in result result 45.8. Finally, the algorithm returns result 45. 