解:程序框图如下图所示:
程序如下:
input
“学生成绩G:”;G
If G>=85 then
Print“A”
Else
If G>=80 then
Print“B”
If G>=60 then
Print“C”
Print“D”
Endif
END