Realizar pseudocodigo con el area de figuras geometricas
-
Upload
claudio-cruz -
Category
Internet
-
view
726 -
download
2
Transcript of Realizar pseudocodigo con el area de figuras geometricas
Cristian Morales Hernández
Maquina 4
1. REALIZAR UN PSEUDOCODIGO QUE REALICE 5 AREAS O 5 VOLUMENES DE 5 FIGURAS GEOMETRICAS DIFERENTES ADEMAS CALCULAR CON NUMEROS ESNTEROS LAS 5 OPERACIONES BASICAS SUMA RESTA MULTIPLICACION DIVICION Y POTENCIACION Y ADEMAS CON NUMEROS REALES LAS MISMAS 5 OPERACIONES BASICAS, IMPRIMIR TODOS LOS RESULTADOS
1. Programa: área de un rectánguloAutor: Cristian Morales HernándezInicioEntorno: BASE, ALTURA, AREA son números enterosEscribir: poner la base y la alturaLeer: BASE, ALTURAVariable: AREA= BASE*ALTURA Escribir: el área del rectángulo es AREA
Programa: AREA DE UN cuadrado
Entorno: LADO*LADO SON NUMEROS ENTEROS
Escribir: INTRODUCIR EL VALOR DEUN LADOLeer: LADOVariable: LADO*4Escribir: EL LADO DE UN CUADRADO ES AREA
Programa: área de un trianguloEntorno: BASE*ALTURA /2 SON NUMEROS ENTEROSEscribir: ESCRIBIR VALOR DE BASE ALTURA Leer: LADO, BASEVariable: BASE POR ALTURA / 2
Escribir: LODO*ALTURA/2 =AREA
Programa: área de un romboEntorno: diámetro mayor*diámetro menor/2 son enterosEscribir: escribir valor de diámetro mayor y diámetro menorLeer: diámetro mayor y diámetro menor Variable: diámetro mayor * diámetro menor /2Escribir: diámetro mayor * diámetro menor =AREA
Escribir la suma de dos números enteros
Programa: área de un polígonoEntorno: perímetro * apotema/2Escribir: valor del perímetro y apotemaLeer: perímetro y apotemaVariable: calcular : AREA= PERIMETRO*APOTEMA/2
Escribir la suma de dos números enteros Escribir: la suma de numero 1+ numero2 Leer : numero 1+ numero 2Escribir la resta de dos números enteros Escribir: la resta de numero 1+ numero2 Leer : numero 1+ numero 2Escribir multiplicacion a de dos números enteros Escribir: la multiplicacion de numero 1+ numero2 Leer : numero 1+ numero 2Escribir la divicion de dos números enteros Escribir: la división de numero 1+ numero2 Leer : numero 1+ numero 2Escribir la potentacion de dos números enteros Escribir: la potentacion de numero 1+ numero2 Leer : numero 1+ numero 2
Variables= numero3, numero4, numérico real
Escribir la suma de dos números enteros Escribir: la suma de numero 3+ numero4 Leer : numero 3+ numero 4
Escribir la resta de dos números enteros Escribir: la resta de numero 1+ numero2 Leer : numero 3+ numero 4Escribir multiplicacion a de dos números enteros Escribir: la multiplicacion de numero 3+ numero4Leer : numero 3+ numero 4Escribir la divicion de dos números enteros Escribir: la división de numero 3+ numero4Leer : numero 3+ numero 4Escribir la potentacion de dos números enteros Escribir: la potentacion de numero 3+ numero4Leer : numero 3+ numero 4