Question: Instructions Instructions: Download the StarterCodes 4 Prog 1 0 . cpp that will help you get started - scroll down to find this file )

Instructions
Instructions:
Download the StarterCodes4Prog10.cpp that will help you get started - scroll down to find this file):
Write a recursive function for multiplying two (2) numbers together. Do not use the C++ multiplication
operator (**). Instead use a recursive function (name the function: multy()) that uses addition to get your
answer. Recall that 2**3=3+3=6, or 3**4=4+4+4=12, etc.... Allow the user to keep giving you the
numbers until s/he enters 0 for both the count (cnt) and the number (num).
Program Run Example:
This program will use recursive function to multiply two numbers without the use of the C++
multiplication operator (**).
Enter the first number or use 0 to end: 5
Enter the second number or use 0 to end: 6
The product of 5 and 6 is: 30
Enter the first number or use 0 to end: 6
Enter the second number or use 0 to end: 6
The product of 6 and 6 is: 36
Enter the first number or use 0 to end: 0
Enter the second number or use 0 to end: 0
Bye Bye for now .....
Note: You MUST document every block of your program.
 Instructions Instructions: Download the StarterCodes4Prog10.cpp that will help you get started

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!