Question: (16 points) Write a C++ file that: 1. (6 points) Uses function overloading to return as a double the sum of its parameters. Specifically, use
(16 points) Write a C++ file that: 1. (6 points) Uses function overloading to return as a double the sum of its parameters. Specifically, use function overloading to support: a. Two doubles as parameters b. Three doubles as parameters C. An array of doubles and its integer size 2. (2 points) Define at least one of your functions as an inline function 3. (3 points) In your main function, call each of the overloaded functions at least once 4. (3 points) Print the result of each sum 5. (2 points) Has comments describing your program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
