19 lines
355 B
PHP
19 lines
355 B
PHP
|
<?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;
|
||
|
}
|
||
|
?>
|