-
-
Save parzibyte/c597429ccc63b2c26a63b94f6fef490c to your computer and use it in GitHub Desktop.
This file contains 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 sin_titulo | |
Escribir "1. Tribuna "; | |
Escribir "2. Sombra "; | |
Escribir "3. Sol general "; | |
Escribir "Ingrese sector: "; | |
Leer sector; | |
Escribir "Ingrese cantidad de entradas: "; | |
Leer entradas; | |
Si sector == 1 Entonces | |
Escribir "Sector: Tribuna"; | |
Escribir "Precio unitario: $15.00"; | |
Escribir "Total a pagar: $", entradas * 15,".00"; | |
FinSi | |
Si sector == 2 Entonces | |
Escribir "Sector: Sombra"; | |
Escribir "Precio unitario: $10.00"; | |
Escribir "Total a pagar: $", entradas * 10,".00"; | |
FinSi | |
Si sector == 3 Entonces | |
Escribir "Sector: Sol general"; | |
Escribir "Precio unitario: $5.00"; | |
Escribir "Total a pagar: $", entradas * 5,".00"; | |
FinSi | |
FinAlgoritmo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment