Question: Write a main program (no include statements) that calls the function sumProduct from the previous question. Be sure to include the following: declare any variables
Write a main program (no include statements) that calls the function sumProduct from the previous question. Be sure to include the following:
declare any variables you use in main
initialize any values you send to the function (using an assignment or input statement) prior to the function call
call the function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
