Question: please help me fix my code. it's right expect I'm not sure if I followed the instructions correctly. please help! 1. Compare output 212 Input
please help me fix my code. it's right expect I'm not sure if I followed the instructions correctly. please help!



1. Compare output 212 Input 1 2 3 4 5 6 7 Your output The sum of elements in the array is 28 The product of elements in the array is 5040 2 Unit test 04 Testing -> sumOfElements(set, ARRAY_SIZE) Compilation failed main.cpp: In function 'bool test Passed(std::ofstream) : main.cpp:60:12: error: 'sumofElements' was not declared in this scope; 601 int sum sumofElements (set, ARRAY SIZE); Compilation failed sumofElements 3 Unit test 04 Testing producto fElements/set, ARRAY_SIZE) compilation failed d (std::ofstream&)': ients' was not declared in this scope; did you mean 'productofElements'? nts (set, ARPAY SIZE) Compilation failed 5 // Function prototypes #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
