大佬帮我看看
reset countA to countF value to zerofor each student s in class list L do
g = score of student s
if g >= 85 then countA = countA+1
if g >= 70 then countB = countB + 1
if g >= 55 then countC = countC+1
if g >= 40 then countD = countD +1
if g <40 then countF = countF +1
这个伪代码哪里有问题? if g >= 85 then A++
continue next loop
end if
if g >= 70 then B++
continue next loop
end if
...
页:
[1]