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)
{
int i;
cout << "Enter ten integers: " << endl;
cin >> array[0];

for (i = 0; i < 10; i++)
cin >> array[i];

return 0;
}

int main()
{
int array[10];
initialize(array,10);

if (find(array,10))

return 0;
}

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!!