Code:

#include <iostream>
using namespace std;
//Are the function prototypes fine???
void getValues(int&, int&, int&, int&, int&);
int findLowest(int, int, int, int, int);
int min(int, int);
int calcAverage(int, int, int, int);
int main()
{
int test1, test2, test3, test4, test5;
getValues(test1, test2, test3, test4, test5);
int lowestTest = findLowest(test1, test2, test3, test4, test5);
float average = calcAverage(?, ?, ?, ?);//how do I make the 4 highest scores be inside parenthesis???
return 0;
}
void getValues(int& test1, int& test2, int& test3, int& test4, int& test5);
{
bool loop = true;
do
{
cout << "Please enter 5 test scores: ";
cin >> test1 >> test2 >> test3 >> test4 >> test5;
if (test1 < 0 || test1 > 100 || test2 < 0 || test2 > 100
|| test3 < 0 || test3 > 100 || test4 < 0 || test4 > 100 || test5 < 0 || test5 > 100)
{
cout << "Test Scores must be between 0 and 100"\n";
}
else
{
loop = false;
}
}while(loop);
}
//Is this correct?
int min(int a, int b)
{
if(a < b)
return a;
else
return b;
}
int findLowest(int test1, int test2, int test3, int test4, int test5)
{
return min(test1, min(test2, min(test3, min(test4, test5))));
}
int calcAverage (int ?, int ?, int ?, int ?)//need help here as well
{
return (? + ? + ? + ?) / 4;
}
}

Someone please guide me thru this!!!!