void getNumberOfScores(int &userNum); |
|
|
|
|
|
|
|
|
const int MAXSIZE{ 100 };
. This way you could define int list[MAXSIZE]{ 0 };
. This way if you want to change the size of the array you only have to do it in one place and not have to hunt through the program where you define an array just to change the size. Not a problem here, but in the future it will be.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (char lco = 'A', ss = 0; lco < 'G'; lco++, ss++)
, but decided that since you are short on time I would do this another time.
|
|
|
|
|
|
Line 2 will return a value, but you do not store it in anything. |
What part will always be true? And why do you think so. |
warning: the address of 'double calcAverage(int*, int, bool)' will always evaluate as 'true'
That's why I think I need an else statement.. or something.
|
|
|
|
|
|