Está en la página 1de 3

Universidad Técnica

de Cotopaxi

PROGRAMACIÓN
Nombre:
JYMI ISMAEL VIRACUCHA
MASAPANTA
CURSO:
ELECTROMECANICA

SICLO:
ABRIL-AGOSTO 2023
1.-Ejecicio.
REALIZAR UN PROGRAMA QUE INGRESE POR TECLADO 3 VARIABLES Y
SACAR LOS PORCENTAJES Y SUMAR LOS RESULTADOS

Estructura Cálculos PESEINT:


Algoritmo porcentaje
Variables
Datos del
definir n como real
Valor 1 Formula y division definir e Como real
definir c Como real
Valor 2 Escribir "ingrese el numero

ejercicio
con su porcentage"
Valor 3 leer n
Escribir "ingrese el numero
con su porcentage"
LEER e
Valor 1 Escribir "ingrese el numero
con su porcentage"
Valor 2 leer c
n <- (e * c) / 100
Valor 3
Escribir "el",n,"% de ",e,"es",c
DFD:
Algoritmo porcentaje

definir n como rea

definir e Como real

definir c Como real

Escribir "ingrese el numero


con su porcentage"

leer n

Escribir "ingrese el numero


con su porcentage"

LEER e

Escribir "ingrese el numero


con su porcentage"

leer c

n <- (e * c) / 100

Escribir "el",n,"% de ",e,"es",c

FinAlgoritmo

También podría gustarte