Thread: Simple Question
View Single Post
Old 03-10-2005, 04:38 AM   #3 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Very well done. Let's see...
1) Try it without:
Code:
int countA = 0;
    int countB = 0;
    int countC = 0;
    int countD = 0;
    int countF = 0;
2) Remove the "if" statement.
3) Try this then:
Code:
while (cin>>score)
__________________
Valmont is offline   Reply With Quote