The code i posted earlier was wrong in a sense... the assignment does call for a void function for calculateAverage, but not calculateGrade.The program is not linked with another program.
The...
Type: Posts; User: cccstudent
The code i posted earlier was wrong in a sense... the assignment does call for a void function for calculateAverage, but not calculateGrade.The program is not linked with another program.
The...
I have to use a void function for calculateAverage (Exercise calls for a void function) and it looks like this
void calculateAverage(int test1,int test2,int test3,int test4,int test5,)
but I...
but I need to call the names and test scores from main to calculateAverage right?
I need to keep my input in my calling function main() and do not use a void function so I can return my calculated average??
that part is good. now I am clueless on how to read each student individually into calculateAverage. I know I need to use a loop somehow, but lost on where to begin. And do I even need
...
I have to write a program that reads a student's name together with his or her test scores.The program should then compute the average test score for each student and assign the appropriate grade.
...