Advertisement
aldinokemal

IF Else

Sep 25th, 2022
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $tresholdNilai = 75;
  4. $tresholdKehadiran = 80;
  5.  
  6. $skorAnda = 80;
  7. $absenAnda = 90;
  8.  
  9. if ($skorAnda >= $tresholdNilai && $absenAnda >= $tresholdKehadiran) {
  10.     echo "Anda Lulus";
  11. }else{
  12.     echo "Anda Tidak Lulus";
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement