18 lines
302 B
PHP
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;
|
||
|
}
|
||
|
|
||
|
?>
|