[Solved] Same average function c++ [closed]


Array[i].getAverageGrade is a function. You can compare that function to another function (like Array[j].getAverageGrade) but what you really want is to

  1. call that function
  2. compare the result to the result of calling the other function:

    Array[i].getAverageGrade() == Array[j].getAverageGrade()
    

BTW: Please keep in mind what others have told you about comparing double values.

1

solved Same average function c++ [closed]