fork download
  1. <?php
  2. $point = 0;
  3.  
  4. if ($point >= 80) {
  5. echo 'A';
  6. } elseif ($point >= 70) {
  7. echo 'B';
  8. } elseif ($point >= 50) {
  9. echo 'C';
  10. } elseif ($point >= 30) {
  11. echo 'D';
  12. } elseif ($point >= 0) {
  13. echo 'E';
  14. } else {
  15. echo 'F';
  16. }
Success #stdin #stdout 0.01s 82880KB
stdin
Standard input is empty
stdout
E