You are on page 1of 3

DIVIDIR DOS NMEROS ENTEROS Diagrama de Flujo

Inicio

Numero A Numero B AB=C C

Fin

Seudocdigos INICIO FIN INICIO Cadena mensaje; real a, b , c; { escribir (Ingrese el dividendo); leer(a); escribir (Ingrese el divisor); leer(b); c=a/b; escribir(c); Escribir (Introducir un numero entero) Escribir (Introducir otro numero entero) Leer (Primer nmero entero) Leer (segundo numero entero) Realizar la operacin A B = C Escribir (Resultado de la divisin numero)

} FIN

HALLAR EL REA DE UN PENTGONO REGULAR DE 6CM DE LADO Y CON 4CM DE APOTEMA.

rea =

Diagrama De Flujo

Inicio Lado Apotema


( ) 2

rea=60cm2

rea pentgono

Fin

Seudocdigos INICIO

Escribir (Introducir medida de lado) Escribir (Introducir medida del apotema) Leer (Lado) Leer (Apotema) Realizar la operacin rea =
( )

Escribir (Resultado de la operacin numero) Escribir (rea del pentgono) FIN { inicio cadena Introducir lado, Introducir apotema, Resultado de la operacin es variable, real l,a escribir(Introducir lado); leer(l); escribir(Introducir apotema); leer(a); escribir(Resultado de la operacin es , l*a/2); fin }

You might also like