Menu
Refeição e preços do restaurante
";
echo "Pepsi Cola: $pepsi$ ";
echo "Cake: $cake$ ";
echo "Entree: $entree$ ";
$total=$PastaDPina+$pepsi+$cake+$entree;
echo " ";
echo "Sub-total: ".number_format($total,2)." ";
$salestax = number_format($total*$tax,2);
echo "Sales Tax: ".$salestax." ";
$custtip = ($total+$salestax)*$tip;
echo "Sales Tax: ".number_format($custtip,2)." ";
echo "Grand Total: ".number_format($total+$salestax+$custtip,2)." ";
?>
|