PHP calculadora básica (Modelo Vista Controlador MVC)

in #busy7 years ago (edited)

Hola mis queridos colegas Steemers! Hoy estuve revisando entre el código que creaba cuando comencé en esto de la programación y me econtré con esta pequeña calculadora, sumamente básica y sencilla, creada con el patrón MVC.

Vista de entrada:

Controlador:

Modelo:

Vista de salida:



CÓDIGO DEL PROGRAMA

Sort:  

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by dougnyx from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

This post received a $0.722 (22.30%) upvote from @upvotewhale thanks to @dougnyx! For more information, check out my profile!

This post has received a 100.00 % upvote from @astrobot thanks to: @dougnyx.

Coin Marketplace

STEEM 0.26
TRX 0.20
JST 0.037
BTC 94588.50
ETH 3439.35
USDT 1.00
SBD 3.95