WebServ/www/public/M2/04/math.php
2024-08-26 14:17:08 +02:00

18 lines
302 B
PHP

<?php
function sum($num1, $num2) {
return $num1 + $num2;
}
function substract($num1, $num2) {
return $num1 - $num2;
}
function multiply($num1, $num2) {
return $num1 * $num2;
}
function divide($num1, $num2) {
return $num1 / $num2;
}
?>