Vous êtes sur la page 1sur 3

NOMBRE: Guamán Ilvay Cristhian

DOCENTE: Ing. Jaime Rojas


ASIGNATURA: Programación
TEMA: Algoritmos

Solución

• Entrada: 13, 14 y 15

• Salida: Su nota es C

➢ Solicitamos al usuario ingrese una nota entre 1 y 20 la cual será guardada en la


variable “N”

➢ Se comprueba si el número es 19 o 20 (N=20 OR N=19)


Si es Verdadero (Si)

➢ Mostramos que su nota es A


Si es Falso (No)

➢ Se comprueba si el número es 16,17 o 18 (N<=18 AND N>=16)


Si es Verdadero (Si)

➢ Mostramos que su nota es B


Si es Falso (No)

➢ Se comprueba si el número es 13,14 o 15 (N<=15 AND N>=13)


Si es Verdadero (Si)

➢ Mostramos que su nota es C


Si es Falso (No)
Llamamos a la subrutina Validar Nota DE
Finaliza
Diagrama de flujo - Convertir nota a letra
➢ En la subrutina Validar Nota DE recibimos el número ingresado en N,

➢ Se comprueba si el número es 10,11 o 12 (N<=12 AND N>=10)


Si es Verdadero (Si)

➢ Se muestra su nota que es D


Si es Falso (No)

➢ Se comprueba si el numero esta entre 1 y 9 (N<=9 AND N>=1)


Si es Verdadero (Si)

➢ Se muestra su nota que es E


Si es Falso (No)

➢ El numero ingresado esta fuera del rango entre 1 y 20

Vous aimerez peut-être aussi

  • San Miguel 12
    San Miguel 12
    Document1 page
    San Miguel 12
    ChristianFI
    Pas encore d'évaluation
  • San Miguel 14
    San Miguel 14
    Document1 page
    San Miguel 14
    ChristianFI
    Pas encore d'évaluation
  • San Miguel 3
    San Miguel 3
    Document1 page
    San Miguel 3
    ChristianFI
    Pas encore d'évaluation
  • Taday 13
    Taday 13
    Document1 page
    Taday 13
    ChristianFI
    Pas encore d'évaluation
  • San Miguel 9
    San Miguel 9
    Document1 page
    San Miguel 9
    ChristianFI
    Pas encore d'évaluation
  • Luis Cordero 12
    Luis Cordero 12
    Document1 page
    Luis Cordero 12
    ChristianFI
    Pas encore d'évaluation
  • San Miguel 1
    San Miguel 1
    Document1 page
    San Miguel 1
    ChristianFI
    Pas encore d'évaluation
  • San Miguel 81
    San Miguel 81
    Document1 page
    San Miguel 81
    ChristianFI
    Pas encore d'évaluation
  • Luis Cordero 14
    Luis Cordero 14
    Document1 page
    Luis Cordero 14
    ChristianFI
    Pas encore d'évaluation
  • San Miguel 9
    San Miguel 9
    Document1 page
    San Miguel 9
    ChristianFI
    Pas encore d'évaluation
  • Luis Cordero 5
    Luis Cordero 5
    Document1 page
    Luis Cordero 5
    ChristianFI
    Pas encore d'évaluation
  • San Miguel 2
    San Miguel 2
    Document1 page
    San Miguel 2
    ChristianFI
    Pas encore d'évaluation
  • Luis Cordero 81
    Luis Cordero 81
    Document1 page
    Luis Cordero 81
    ChristianFI
    Pas encore d'évaluation
  • Nivel de Servicio
    Nivel de Servicio
    Document13 pages
    Nivel de Servicio
    ChristianFI
    Pas encore d'évaluation
  • Azogues Z6S56
    Azogues Z6S56
    Document1 page
    Azogues Z6S56
    ChristianFI
    Pas encore d'évaluation
  • Azogues Z4S43
    Azogues Z4S43
    Document1 page
    Azogues Z4S43
    ChristianFI
    Pas encore d'évaluation
  • Guapan 9
    Guapan 9
    Document1 page
    Guapan 9
    ChristianFI
    Pas encore d'évaluation
  • Azogues Z6S55
    Azogues Z6S55
    Document1 page
    Azogues Z6S55
    ChristianFI
    Pas encore d'évaluation
  • Guapan 12
    Guapan 12
    Document1 page
    Guapan 12
    ChristianFI
    Pas encore d'évaluation
  • Javier Loyola 81
    Javier Loyola 81
    Document1 page
    Javier Loyola 81
    ChristianFI
    Pas encore d'évaluation
  • Trabajo Nivel ServicioT
    Trabajo Nivel ServicioT
    Document23 pages
    Trabajo Nivel ServicioT
    ChristianFI
    Pas encore d'évaluation
  • Javier Loyola 2
    Javier Loyola 2
    Document1 page
    Javier Loyola 2
    ChristianFI
    Pas encore d'évaluation
  • Guapan 2
    Guapan 2
    Document1 page
    Guapan 2
    ChristianFI
    Pas encore d'évaluation
  • Javier Loyola 12
    Javier Loyola 12
    Document1 page
    Javier Loyola 12
    ChristianFI
    Pas encore d'évaluation
  • Luis Cordero 5
    Luis Cordero 5
    Document1 page
    Luis Cordero 5
    ChristianFI
    Pas encore d'évaluation
  • Guapan 4
    Guapan 4
    Document1 page
    Guapan 4
    ChristianFI
    Pas encore d'évaluation
  • Javier Loyola 3
    Javier Loyola 3
    Document1 page
    Javier Loyola 3
    ChristianFI
    Pas encore d'évaluation
  • Javier Loyola 7
    Javier Loyola 7
    Document1 page
    Javier Loyola 7
    ChristianFI
    Pas encore d'évaluation
  • Guapan 9
    Guapan 9
    Document1 page
    Guapan 9
    ChristianFI
    Pas encore d'évaluation
  • Luis Cordero 4
    Luis Cordero 4
    Document1 page
    Luis Cordero 4
    ChristianFI
    Pas encore d'évaluation