Академический Документы
Профессиональный Документы
Культура Документы
FinAlgoritmo
Algoritmo Precio_Terreno
Escribir "Ingrese lado A de terreno";
Leer A;
Escribir "Ingrese lado B de terreno";
Leer B;
Escribir "Ingrese lado C de terreno";
Leer C;
Escribir "Ingrese precio por metro cuadrado";
Leer metroCuadrado;
AreaTriangulo<- (B*(A-C));
AreaRectangulo<- B*C;
AreaTotal<-AreaTriangulo+AreaRectangulo;
PrecioTerreno<-AreaTotal*metroCuadrado;
Escribir "Precio del terreno es : ",PrecioTerreno;
FinAlgoritmo
Algoritmo Salario_de_empleados
Definir salario, salarioNeto Como Real ;
Escribir "Ingrese su nombre";
Leer nombre;
Escribir "Ingrese el numero de horas de trabajo";
Leer horas;
Escribir "Ingrese el valor por horas";
Leer valorHoras;
salario<-(horas*valorHoras);
descuento<- ((salario*7)/100);
salarioNeto<-salario-descuento;
Escribir "Empleado(a): ",nombre;
Escribir " Descuento es ", descuento;
Escribir "Salario neto a recibir es :",salarioNeto;
FinAlgoritmo
Algoritmo Intercambio_de_Variables
e<-0;
Leer a;
Leer b;
Leer c;
Leer d;
e<-a;
a<-d;
d<-b;
b<-c;
c<-e;
Escribir "a:",a;
Escribir" b: ",b;
Escribir" c: ",c;
Escribir" d: ",d;
FinAlgoritmo