wsp_m0/www/public/upp4/inc/math.php

19 lines
355 B
PHP
Raw Permalink Normal View History

2024-09-03 12:45:07 +00:00
<?php
function sum($t1, $t2){
$sum = $t1 + $t2;
return $sum;
}
function sub($t1, $t2){
$diff = $t1 - $t2;
return $diff;
}
function multiply($t1, $t2){
$prod = $t1 * $t2;
return $prod;
}
function divide($t1, $t2){
$kvot = $t1 / $t2;
return $kvot;
}
?>