Error 1 error C2446: '<' : no conversion from 'int' to 'int *' c:\documents and settings\gul\desktop\project\project\project.cpp 50 project
Error 2 error C2040: '<' : 'int [7]' differs in levels of indirection from 'int' c:\documents and settings\gul\desktop\project\project\project.cpp 50 project
Seems like all the lines with gpa[i] += ... were supposed to be gpa[i] = ... since you are setting the gpa score, not adding to the existing value (there is no existing value).