No he means not agree because of the following line:
cin >> input[1] >> input[2] >> input[3] >> input[4] >> input[5];
This is saying that the array has up to 6 elements but it is defined as int input[5]. This means that calling input[5] will cause the program to crash because it is outside the bounds of the array. It should be this:
cin >> input[0] >> input[1] >> input[2] >> input[3] >> input[4];
Also, using this
int something; cin>>something;
is dangerous because if the user enters a character instead of an int the program will freak out.
Um, no. Ancient Dragon said "The parameters to the function in lines 5 and 27 to not agree." However, you said that he is using "not agree" to refer to the line "cin >> input[1] >> input[2] >> input[3] >> input[4] >> input[5];", which is line 18.