Advertisement
Tytanix

lekcja operatory cz3

Sep 21st, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. <?php
  2.  
  3. $a = 7;
  4. $b = 10;
  5. $c;
  6.  
  7.  
  8. $a-- ; //a =6
  9. $c = $a/2+5; //
  10. $b++; //b = 11
  11. $a = $c+$a/3;
  12. $b+=$a;
  13.  
  14. print ("a = ".$a."<br>"."b = ".$b."<br>"."c = ".$c);
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement