This commit is contained in:
louiscklaw
2025-01-31 19:15:17 +08:00
parent 09adae8c8e
commit 6c60a73f30
1546 changed files with 286918 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lab01 Task3</title>
</head>
<body>
<?php
$x = 20;
$y = 6;
printf("%s + %s = %d <br>", $x, $y, ($x+$y));
printf("%s - %s = %d <br>", $x, $y, ($x-$y));
printf("%s * %s = %d <br>", $x, $y, ($x*$y));
printf("%s / %s = %f <br>", $x, $y, ($x/$y));
printf("%s % %s = %d <br>", $x, $y, ($x%$y));
?>
</body>
</html>