WebServ/www/public/M2/04/math.php

18 lines
302 B
PHP
Raw Normal View History

2024-08-26 12:17:08 +00:00
<?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;
}
?>