You are on page 1of 1

<?php $f=$_REQUEST['copete']; $g=$_REQUEST['cantidad']; $p = $f * $g; echo "Cantidad de alcohol consumida"; echo "<br>"; echo "$p grs.

"; echo"<br>"; echo"<br>"; $l=$p % 25; $b=($p-$l)/25; echo "Al beber $p grs. de alchol, usted debe comer"; echo "<br>"; if ($p>25){ echo "$l sopaipas"; echo "<br>"; echo "$b bifes chorizo"; } else { echo "$l sopaipas"; } ?>

You might also like