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 ejerciciob | |
| Definir a, b, c, x Como Entero | |
| a = 6 | |
| b = 2 | |
| c = 3 | |
| x = a * b / c | |
| 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 a, c, x Como Entero | |
| a = 6 | |
| c = 3 | |
| x = (a * c) Mod c | |
| Escribir "El resultado es: ", x | |
| FinAlgoritmo |
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 ejercicioe | |
| Definir c, b, x Como Entero | |
| c = 3 | |
| b = 2 | |
| x = c^b + c*b | |
| Escribir "El resultado es: ", x | |
| FinAlgoritmo |
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 a, b, c Como Entero | |
| a = 3 | |
| b = 0 | |
| c = a + b | |
| b = a + b | |
| a = b | |
| Escribir "a = ", a |
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 ejerciciob | |
| Definir a, b, c Como Entero | |
| a = 10 | |
| b = 5 | |
| a = b | |
| b = a | |
| Escribir "a = ", a | |
| Escribir "b = ", b |
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 a, b, c, d Como Entero | |
| a = 1 | |
| b = 4 | |
| c = a + b | |
| d = a - b | |
| a = c + 2 * b | |
| b = c + b | |
| c = a * b |
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 a, b, c Como Entero | |
| a = 8 | |
| b = 5 | |
| c = 0 | |
| c = c + a | |
| a = a + c - 2 * b | |
| b = b + b | |
| a = c |
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 |
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 ejerciciod | |
| Definir c, r, t, x Como Real | |
| c = 2000 | |
| r = 5 | |
| t = 2 | |
| x = (c * r * t) / 100 | |
| Escribir "El resultado es: ", x |