KAMATOS KAMAT SZÁMÍTÁSA
[insert_php]
$a=0;
$b=0;
$c=0;
$d=0;
$e=0;
if (isset($_POST[‘a’])&&isset($_POST[‘b’])&&isset($_POST[‘c’]))
{
$a = $_POST[“a”];
$a = (integer)$a;
$b = $_POST[“b”];
$b = (float)$b;
$c = $_POST[“c”];
$c = (integer)$c;
}
$e = (1 + $b/100);
$d= round($a*pow($e,$c),2);
print”
“;
print”
“;
print”
“;
print”
“;
[/insert_php]