Optimización de Programas en Lenguaje de Programación: Ejemplo Práctico
Clasificado en Informática
Escrito el en español con un tamaño de 2,78 KB
begin {programa} ----------------
print("ilmo. sr. Director General"); ----------- 1
Read(registro_fich); ----------
prima = 0; ----------------
while (no FF de fich) do while (no FF de fich) 2
begin {while} ---------------------
if (meses_fich >= 12) 3
if (meses_FINCH >= 12) 4
then ----------------
if (directivo_FINCH = "+") 5
THEN PRIMA = 1000 --------------
ELSE PRIMA = 75 else
ELSE ---------------------
IF (directivo_FINCH = "+") 6
then prima = 500 fin if
else prima = 0 else
print(num_FICH, nombre_FICH, prima); if (directivo_fich = "+") 7
read(registro_FICH) --------------
print("S.p.r.y") ------------- 8
End {programa}. else
1 ---------------- 9
2 fin if
3 fin if
7 4 ----------------
---------------- 10
9 8 6 5 fin while
10 ---------------- 11
v(g) nº flechas... Continuar leyendo "Optimización de Programas en Lenguaje de Programación: Ejemplo Práctico" »