Well I just started C++ and I can't figure out where I'm messing up this program... It should be giving me the maximum number but it is not. I think it's in the for loop I'm having a problem but I'm not sure. This is what I did so far. Could anyone point me in the right direction to get this runnning properly?

Thanks.

Code:#include <iostream> using std:: cout; using std:: cin; using std:: endl; double larger (double x, double y); int main () { int number1; int number2; int number3; int number4; int number5; int number6; int number7; int number8; int number9; int number10; int number11; int number12; int number13; int number14; int number15; cout<<"Enter 15 numbers: "; cin>>number1>>number2>>number3>>number4>>number5>>number6>>number7>>number8>>number9>>number10>>number11>>number12>> number13>>number14>>number15; cout<<"The largest number is: "; cin>>larger ( <<endl; return 0; } double larger (double x, double y) { For int counter = 1; counter<=14, counter++){ double max = x if (y > max) max = y return max; } }