resta

an anonymous user · May 04, 2021 · PHP
<?php
$mi_dinero=55;
$el_costo_de_la_coca=30;
$el_cambio=$mi_dinero-$el_costo_de_la_coca;
echo "si una cocacola me cuesta $el_costo_de_la_coca y tengo $mi_dinero entonces me van a dar de cambio $el_cambio";

Comments

Please sign up or log in to contribute to the discussion.