thats because you only ever allow te variable grades to be 1 or 0, so it cannot be greater than 7

Chris