Advertisement
ujiajah1

anak_ayam_loop.php

Mar 13th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.10 KB | None | 0 0
  1. <?
  2. $ayam=10;
  3. for($a=$ayam;$a>=1;$a--){
  4.     $b=$a-1;
  5.     echo $a.",";
  6. if($b>=1){
  7.     echo $b."<br/>";
  8. }
  9. }
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement