Está en la página 1de 9

UNIVERSIDAD PRIVADA

DOMINGO SAVIO
FACULTAD DE INGENIERÍA

SISTEMAS Y REDES

TRABAJO:
Nombre del Trabajo a Presentar

ESTUDIANTE (S):
ROBERTO CARLOS MAMANI MORALES

DOCENTE:
Ing. Juan Carlos Huanto V.

TARIJA MARZO 2023


1

TAREA

EDAD

Algoritmo CONDICIONAL

Definir nombre Como Caracter

Definir edad Como Entero

Escribir "********************************"

Escribir "**** Mayor o Menor de Edad ****"

Escribir "********************************"

Escribir " ingrese su nombre "

leer nombre;

Escribir " ingrese su edad "

Leer edad;

//

si edad > 20 Entonces

Escribir " ud. es mayor de edad "

SiNo

Escribir " ud. es menor de edad "

FinSi

FinAlgoritmo
1

Mostrar el mayor de dos numeros ingresados por teclado

Algoritmo Mostrar_el_mayor

// mostrar el mayor de dos numeros ingresados por teclado

Definir num1,num2 Como Real

Escribir " ingrese num1 "

Leer num1;

Escribir " ingrese num2 "

Leer num2;

si num1 > num2 Entonces

Escribir "num1 es mayor ";


1

SiNo

Escribir " num2 es menor";

FinSi

Escribir " GRACIAS"

FinAlgoritmo

NOTAS
1

Algoritmo notas

Definir nombre Como Caracter

Definir nota1,nota2,promedio
Como Real

Escribir " ingrese su nombre "

Leer nombre;

Escribir " ingrese su nota


parcial "

Leer nota1;

Escribir " ingrese su nota final "

Leer nota2

promedio=(nota1+nota2)/2;

si promedio >51 Entonces

Escribir " EL ESTUDIANTE "


,nombre," aprobo con",promedio;

SiNo

Escribir " el estudiante "


,nombre, "reprobo con ",promedio;

FinSi

FinAlgoritmo
1

TALLAS DE LA TIENDA

Proceso tienda_talas

Definir nombre Como Caracter

Definir talla, tallalimite Como Real

escribir "ingrese su nombre"

leer nombre;

escribir " ingrese su talla"

leer talla;
1

si tallalimite > 40 Entonces

Escribir "la persona: ",nombre "encontro su talla:",talla

SiNo

Escribir "la persona: ",nombre "no encontro su talla:",talla

finsi

Fin Procesó
1

MAYOR Y MENOR

Proceso MAYOR_MENOR

Definir NUM1,NUM2,NUM3 COMO REAL

Escribir "INGRESE NUM1 "

LEER NUM1

ESCRIBIR "INGRESE NUM2 "

LEER NUM2

ESCRIBIR "INGRESE NUM3"

LEER NUM3

SI NUM1>NUM2 Entonces

SI NUM1<NUM3 ENTONCES

ESCRIBIR " NUM1 ES MAYOR";

SiNo

ESCRIBIR "NUM3 ES MAYOR";

FinSi

SiNo

SI NUM2>NUM3 Entonces

Escribir "NUM2 ES MAYOR";

SiNo

ESCRIBIR"NUM3 ES MAYOR";

FinSi

FinSi

FinProceso
1

También podría gustarte