<?php
define
("rs", "Rumus SEGITIGA");
$ab=8;
$ac=10;
$bc=6;
$k=$ab+$ac+$bc;
$l=0.5*$bc*$ab;
echo
rs;
echo
"<br><br>Keliling : AB + AC + BC";
echo
"<br>Contoh: ";
echo
"<br>AB = $ab";
echo
"<br>AC = $ac";
echo
"<br>BC = $bc";
echo
"<br>Keliling : $ab + $ac + $bc = $k";
echo
"<br><br>Luas Segitga : 1/2 x alas(BC) x tinggi(AB)";
echo
"<br>Jadi: 1/2 x $bc x $ab = $l";
?>
wahhh hebat sekali master,
BalasHapusnumpang ya
www.jualminyakcendana.blogspot.com
Monggo,,,,suhu...
BalasHapus