no message

This commit is contained in:
a-kizaki
2026-10-06 12:10:09 +09:00
commit 9c2090ffa2
156 changed files with 14850 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
// area.php:Ex03用
/**
* 四角形の面積:縦×横
*/
function calcRectangle($height, $width)
{
return $height * $width;
}
/**
* 三角形の面積:縦×横/2
*/
function calcTriangle($height, $width)
{
return ($height * $width) / 2;
}