pastebin

Paste Search Dynamic
Recent pastes
rtrim(fgets(STDIN)
  1. <?php
  2. $n=(int)rtrim(fgets(STDIN));
  3. if($n<51)
  4. {
  5.         echo "L.E. 3.50/unit"."\n";
  6. }
  7. elseif($n>50 and $n<151)
  8. {
  9.         echo "L.E. 4.00/unit"."\n";
  10. }
  11. elseif($n>150 and $n<251)
  12. {
  13.         echo "L.E. 5.20/unit"."\n";
  14. }
  15. else
  16. {
  17.         echo "L.E. 6.50/unit"."\n";
  18. }
  19. ?>
Parsed in 0.010 seconds