WebbServerProg/www/public/Moment-2/Upg4/math.php

31 lines
563 B
PHP
Raw Permalink Normal View History

2024-08-26 08:40:59 +00:00
<!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>