I need a function to determine if there are two numbers in an array of 10, whose sum is 100. The function will be called find. Here is the rest of my program:
int initialize(int array, int size)
cout << "Enter ten integers: " << endl;
cin >> array;
for (i = 0; i < 10; i++)
cin >> array[i];
The main function must remain the same. I'm having difficulty trying to write a function to determine if two of 10 integers has a sum of 100.
Thanks in advance!!