if a>0 and a<60 then
label1.caption="不及格"
else
if a>=60 and a<=90 then
label1.caption="成绩优良"
else
if a>90 and a<=100 then
label1.caption="成绩优秀"
else
label1.caption="输入错误"
endif
endif
endif









但是我想问问能不能在整体定义a的值的时候直接给出范围