aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pruebas/screenshot.es23
-rw-r--r--screenshot.pngbin0 -> 62334 bytes
2 files changed, 23 insertions, 0 deletions
diff --git a/pruebas/screenshot.es b/pruebas/screenshot.es
new file mode 100644
index 0000000..213817d
--- /dev/null
+++ b/pruebas/screenshot.es
@@ -0,0 +1,23 @@
+entero a = 10;
+entero b = 20;
+booleano c = verdadero;
+caracter d = 'a';
+entero i = 0;
+
+funcion vacio imprimir_n (entero n, cadena s) {
+ mientras (i < n) {
+ imprimir (s);
+ i = i + 1;
+ };
+};
+
+funcion vacio principal () {
+ leer a;
+ imprimir_n (a, "¡Hola, Mundo!");
+ si (a < b) {
+ imprimir ("a es menor que b");
+ } sino {
+ imprimir ("a es menor o igual que b");
+ };
+ retornar ((40 + a) - b) * 2;
+}; \ No newline at end of file
diff --git a/screenshot.png b/screenshot.png
new file mode 100644
index 0000000..598b6fe
--- /dev/null
+++ b/screenshot.png
Binary files differ