In the future, please use code tags.
1. GetVaules should ask for fiv test scores and store them in variables.
It is probably better to use an array for this like so
Code:
int scores[5];
cout<<"please enter the values"<<endl;
for (int i=0;i<5;i++){
cin>>scores[i];
}
Code:
int findlowest ()
{
if (score 1, score 2, score 3, score 4, score 5 > = 100)
lowestscore = < 0;
This will not work for several reasons. Try something like this:
Code:
int lowest=scores[0];
for (int i=1;i<5;i++){
if (scores[i]<lowest) lowest=scores[i];
}
to average a number of values, just add them up and divide by the number of values.
I hope this helps. The code I gave you probably has some syntax errors in there somewhere, but they are probably easy to fix (I'm kinda tired)