First, grade1, grade2, grade3 are of type float, where, Average is of type double. This should not affect the code in a large way, however. Second, Average is computed before the user enters the grades. Calculate the grades after the user has entered the grades. Third, it's easier to write studentCount++ instead of studentCount=studentCount+1 in the for loop.
EDIT: int 90-100=A, 80-89.9=B, 70-79.9=C, 60-69.9=D, 0-59.9=F; is not valid. You cannot have identifiers beginning with numbers and you also cannot have identifiers which are computations. Instead, do this: int A( 90-100 ), B( 80-89.9 ), C( 70-79.9 ), D( 60-69.9 ), F( 0-59.9 );
Note: Any floating points that are assigned to a variable, which is of type int, are truncated.