Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallo en código al mostrar una función con varios mostrar #18

Open
ivangarciaweb opened this issue Oct 24, 2017 · 0 comments
Open

Fallo en código al mostrar una función con varios mostrar #18

ivangarciaweb opened this issue Oct 24, 2017 · 0 comments
Assignees

Comments

@ivangarciaweb
Copy link

Escribiendo este código:
//lea dos numeros y suma, resta, división y producto
procedimiento #operar @numero1 y @numero2
@suma = @numero1 + @numero2
@resta = @numero1 - @numero2
@producto = @numero1 * @numero2
@Division = @numero1 / @numero2
mostrar @suma
mostrar @resta
mostrar @producto
mostrar @Division

pedir @numero1
pedir @numero2

mostrar #operar @numero1 y @numero2

Devuelve:
7
-3
10
0.4
undefined

Creo que no debería devolver el "undefined"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants