<?php
$score=rand(0,100);if($score>90){ echo "Congratulations! Your score is excellent";}else if($score>=60) ;{ echo "Not bad, your score is good";}else{ echo "Sorry! You failed";}
?>
(农行)贷款.宁同学2021-02-03 12:58:09
Isn't your writing rigorous enough? If a number is 91, does it print out as excellent or passing?
ZXT2021-01-27 20:58:12
$score=rand(0,100); if($score>90){ echo"恭喜!您的成绩为优秀"; }else if($score>=60);{ echo"不错哟,您的成绩为良好"; }else{ echo "很遗憾!您不及格"; }