PHP Code


$rtemp=$_POST['rname'];
$htemp=$_POST['hname'];
$Vtemp = (3.14*($rtemp*$rtemp))*$htemp;
print ("
Volume= $Vtemp");
print ("
You entered $rname for the Radius");
print ("
You entered $hname for the Height");
print ("
Your Volume is $Vtemp
");