Question: Write a function definition (both the heading and body) for a function named sumProduct . This function will be sent three integers arguments from main
Write a function definition (both the heading and body) for a function named sumProduct. This function will be sent three integers arguments from main and the function will display the sum and product of the three integers. The sum and product should be clearly labeled in the output. For example, if the function is called with 3, 4 and 7 the output will display:
The sum is 14 The product is 84
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
