From e686a421a5c9841a779ed1d29cb6aacca5d7248b Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Fri, 25 Nov 2022 16:43:05 -0600 Subject: Se arreglan paréntesis en expresiones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pruebas/sintaxis2.es | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pruebas') 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; }; -- cgit v1.2.3