8. 条件(条目,三元)运算符

 

 因为$score的值为56,即为真,所以会把“及格”赋值给$valuation

posted @ 2017-12-24 22:45  友缘聚友  阅读(285)  评论(0编辑  收藏  举报