how to do addition ,subtraction, multiplication, mod operations in array | Sololearn: Learn to code for FREE!

-1

how to do addition ,subtraction, multiplication, mod operations in array

Php

php

9/26/2016 7:35:53 AM

Raj Kumar

1 Answer

New Answer

+1

simply use function calculated($num1, $num2){ $sum = $num1 + $num2 return $sum } echo calculated(5, 9) Output Html is 14