Advertisement
PlajariKode

if...else statement

Oct 25th, 2019
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.09 KB | None | 0 0
  1. <?php
  2. $a = 9;
  3. $b = 7;
  4.  
  5. if($a < $b):
  6.     echo "Benar!";
  7. else:
  8.     echo "Salah!";
  9. endif;
  10.  
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement