WebbServerProg/www/public/Moment-2/Upg4/math.php
2024-08-26 10:40:59 +02:00

31 lines
563 B
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<?php
function sum($t1, $t2){
$sum = $t1 + $t2;
return $sum;
}
function subtract($t1, $t2){
$sum = $t1 - $t2;
return $sum;
}
function multiply($t1, $t2){
$prod = $t1 * $t2;
return $prod;
}
function division($t1, $t2){
$divi = $t1 / $t2;
return $divi;
}
?>
</body>
</html>