Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mi ejercicio #3

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions jair/ejercicio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Día de la semana:
Crea un programa que pida al usuario un número del 1 al 7 e imprima el día de la semana correspondiente. (Reto. Usar switch case)

//Este algoritmo me va a indicar que día de la semana corresponde al número ingresado
AlgoritmoDiaDeLaSemana

Escribir "Ingresa un número del 1 - 7 y te diré el dia de la semana correspondiente: "
Leer numero

Repetir
Definir numero como entero

Segun numero Hacer
Leer numero
1:
Escribir "Es Lunes "
2:
Escribir "Es Martes "
3:
Escribir "Es Miercoles "
4:
Escribir "Es jueves "
5:
Escribir: "Es Viernes "
6:
Escribir: "Es Sábado"
7:
Escribir "Es Domingo "
De otro modo
Escribir "número no valido "
Fin Segun
Hasta que numero >= 8
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No hay necesidad de bucle


FinAlgoritmo
2 changes: 0 additions & 2 deletions yahir/ejercicio.md

This file was deleted.