Question: Create a function named productSum that accepts 3 integer arguments. This function should return: The product of x and y , if the product of
Create a function named productSum that accepts integer arguments. This function should return:
The product of x and y if the product of x and y is less than z
Else it should return the sum of x and y if the product of x and y is greater than or equal to z
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
