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

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!