QQ网名大全

编写一个shell脚本,并取名叫chengji,根据一个同学的考试成绩来显示他的等级。

bin/sh
if[$1-lt 60];then
echo"差
elif[$1-ge 60-a$1-lt 75];then
echo"中
elif[$1-ge 75-a$1-lt 90];then
echo"良
else
echo"优
fi
运行:
chmod+x chengji
chengji 成绩
佚名
2024-06-01 20:21:35
最佳回答
类似问题(10)