Question: Write a user-defined function that adds four numbers passed to it (integer or floating point, doesnt matter which). The function will return the answer to
Write a user-defined function that adds four numbers passed to it (integer or floating point, doesnt matter which). The function will return the answer to the calling function, which is likely to be main(), and then from main(), print out the result (e.g., "The sum of the four numbers is 0")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
