Yes, any number other than -1.0 or 1 is probably a magic number.
If you are not a real guru, you are probably allowed to use two free forces as well :-)
As an aside, you could probably reorganize this code to be more understandable, for example:
string CalcGrade (int s1, int s2, int s3, double median) {
static const int Limits[] = {400, 380, 360, 340,320, 300, 280,260, 240, 220,200,180 };
static const int Grades[] = {"A+","A","A-","B+","B","B-","C+","C","C-","D+","D","D-"};
double finalGrade = s1 + s2 + s3 + median;
for (int i = 0; i < sizeof(Limits) / sizeof(*Limits); i++)
if (finalGrade >= Limits[i])
return Grades[i];
return "Fail";
}
, , , , ( , ).
, -, 380,5 - :-) "" , 400 ( "A+").