diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-11-25 16:43:05 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-11-25 16:43:05 -0600 |
commit | e686a421a5c9841a779ed1d29cb6aacca5d7248b (patch) | |
tree | ede405b101e65bbcc322e226fdd41815b322428c /pruebas | |
parent | c7f014aef2c86d7a17f2642180732a6ba9b2a125 (diff) | |
download | javanol-e686a421a5c9841a779ed1d29cb6aacca5d7248b.tar.gz javanol-e686a421a5c9841a779ed1d29cb6aacca5d7248b.tar.bz2 javanol-e686a421a5c9841a779ed1d29cb6aacca5d7248b.zip |
Se arreglan paréntesis en expresiones
Diffstat (limited to 'pruebas')
-rw-r--r-- | pruebas/sintaxis2.es | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pruebas/sintaxis2.es b/pruebas/sintaxis2.es index fdb9dd3..3319840 100644 --- a/pruebas/sintaxis2.es +++ b/pruebas/sintaxis2.es @@ -3,7 +3,7 @@ entero b = 20; booleano c = verdadero; caracter d; funcion entero a (entero a, cadena b) { - b = 40 + 2 * 10; + b = ((40 - 2) + 10) * 2; imprimir ("Hola"); leer d; }; |