#9. PHP Arithmetic Operators

PHP Arithmetic Operators


Run Code:

<?php

$a = 10;

$b = 20;

//$c =$a + $b;

//$c =$a - $b;

//$c =$a * $b;

//$c =$a / $b;

//$c =$a % $b;

//$a++;
//++$a;
//$b--;
//--$b;

//$c =$a * $b + 3;

//$c =$a ** $b;

echo $c;

?>

 


Comments

Popular posts from this blog

#30. PHP Recursive Function