This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo CompararNumerosConReferencia | |
| Definir i, numero Como Entero | |
| Definir continuar Como Caracter | |
| Imprimir "Introducir cuantos números que queramos:" | |
| Leer i | |
| continuar = "1" | |
| Mientras continuar = "1" o continuar = "1" Hacer | |
| Imprimir "Introduce un número:" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo ejercicio | |
| Definir n, i, numero Como Entero | |
| Imprimir "¿Cuántos numeros deseas introducir?" | |
| Leer n | |
| i <- 1 | |
| Mientras i <= n Hacer | |
| Imprimir "Introducir el numero ", i, ":" | |
| Leer numero |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo ejercicio5 | |
| Definir desea, i, contador, suma Como Entero | |
| Escribir "Introduce el número desea:" | |
| Leer desea | |
| i = 10 | |
| contador = 0 | |
| suma = 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo ejercicio4 | |
| Definir desea, i, contador, suma Como Entero | |
| Escribir "Introduce el número desea:" | |
| Leer desea | |
| i = 2 | |
| contador = 0 | |
| suma = 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo ejercicio3 | |
| Definir i, contador Como Entero | |
| i = 5 | |
| contador = 0 | |
| Mientras i <= 500 Hacer | |
| Imprimir i | |
| contador = contador + 1 | |
| i = i + 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo ejercicio2 | |
| Definir i, n Como Entero | |
| i = 1 | |
| n = 0 | |
| Mientras i <= 100 Hacer | |
| i = 1 + n | |
| n = i + 2 | |
| FinMientras |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo ejercicio1 | |
| Definir numero, contador Como Entero | |
| numero = 3 | |
| contador = 0 | |
| Mientras numero <= 100 Hacer | |
| Imprimir numero | |
| contador = contador + 1 | |
| numero = numero + 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo ejerciciod | |
| Definir c, r, t, x Como Real | |
| c = 2000 | |
| r = 5 | |
| t = 2 | |
| x = (c * r * t) / 100 | |
| Escribir "El resultado es: ", x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo ejercicioc | |
| Definir m, p, q, x Como Real | |
| m = 6 | |
| p = 5 | |
| q = 2 | |
| x = (m + 4) / (p - q) | |
| Escribir "El resultado es: ", x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Algoritmo ejercicioa | |
| Definir m, n, x Como Real | |
| m = 6 | |
| n = 2 | |
| x = (m + n) / n | |
| Escribir "El resultado es: ", x | |
| FinAlgoritmo |