Hello guys, I recently started to study the C++ language and my teacher gave me an assignment to write a code for a program.But I have a a problem.
SO what the program is supposed to do is to find the max element of an array and then to print out every 2 elements that are side by side from the array which sum is bigger than the max element.
This is what I have so far.