Algorithm for performing arthemetic operations by functions
Answers
Answered by
0
Example of using operator operations
$x = 100;
$y = 10;
Operation Operator Example Syntax results
Additions + $x + $y 110
Reduction – $x – $y 90
Multiplication * $x * $y 1000
Distribution / $x / $y 10
Share remaining % $x % $y 0
Increment ++ $x++ 101
Decrement – $x– 99
Similar questions