Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Victorpolizadeseguros
Victorpolizadeseguros
CONDICIONES
ES INDIVIDUAL
uses crt;
var opc:char;
begin
repeat
readln (edad);
repeat
readln (tipo_de_poliza);
repeat
readln (toma_alcohol);
repeat
readln (utiliza_lentes);
repeat
readln (padece_enfermedad);
if tipo_de_poliza=1 then
begin
cuota := 1200;
end
else
begin
cuota := 950;
end;
cargos := 0;
if toma_alcohol=1 then
begin
cargos := cargos+cuota*0.1;
end;
if utiliza_lentes=1 then
begin
cargos := cargos+cuota*0.05;
end;
if padece_enfermedad=1 then
begin
cargos := cargos+cuota*0.05;
end;
if edad>40 then
begin
cargos := cargos+cuota*0.2;
end
else
begin
cargos := cargos+cuota*0.1;
end;
costo_de_la_poliza := cuota+cargos;
writeln;
readkey;
readln (opc);
until opc='N';
end.