Search:

Type: Posts; User: cccstudent

Search: Search took 0.01 seconds.

  1. Thread: Help!!!

    by cccstudent
    Replies
    11
    Views
    2,062

    The code i posted earlier was wrong in a sense......

    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...
  2. Thread: Help!!!

    by cccstudent
    Replies
    11
    Views
    2,062

    yeah

    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...
  3. Thread: Help!!!

    by cccstudent
    Replies
    11
    Views
    2,062

    but I need to call the names and test scores from...

    but I need to call the names and test scores from main to calculateAverage right?
  4. Thread: Help!!!

    by cccstudent
    Replies
    11
    Views
    2,062

    so

    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??
  5. Thread: Help!!!

    by cccstudent
    Replies
    11
    Views
    2,062

    Ok

    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

    ...
  6. Thread: Help!!!

    by cccstudent
    Replies
    11
    Views
    2,062

    Help!!!

    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.
    ...
Results 1 to 6 of 6