Question: Please, I need help!!!! C++ ---------------------------------- Write a function template called arrSum that can find the accumulation value of any type of arrayso
Please, I need help!!!! C++
----------------------------------
"Write" a function template called "arrSum" that can find the accumulation value of any type of arrayso the following program works. (70% of mark).Assume that the class "Mark" is already implemented. It encapsulates an integer value to be the mark of a subject and displays it.
Then specify what features the type of your template should have so your template can work correctly as shown below: (30% of the mark)

class Mark; int main() { int IS] = { 10, 5, 15, 12 }; / array of ints double DSI = { 1.6, 3.33,0.5 }; // array of doubles Mark Ms( = { 70, 50,25, 90, 65 }; // array of marks / passing array name and the array size cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
