Preguntar al usuario el tamaño del cateto, y dibujar un triángulo rectángulo isósceles.
Ejemplo:
Cateto = 4
X
XX
XXX
XXXX
Usage:
php app/console
Console Tool
Usage:
[options] command [arguments]
Options:
--help -h Display this help message.
--quiet -q Do not output any message.
--verbose -v Increase verbosity of messages.
--version -V Display this application version.
--ansi Force ANSI output.
--no-ansi Disable ANSI output.
--no-interaction -n Do not ask any interactive question.
Available commands:
Triangle
Triangle:draw draw triangle
help Displays help for a command
list Lists commands
php app/console help Triangle:draw
Usage:
Triangle:draw leg
Arguments:
leg Triangle Leg