Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2015
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Falcon 1.10 KB | None | 0 0
  1. Proceso Menu
  2.     Definir ciclo,opcion,N_control,c1,c2,c3,c4,c5 Como Entero;
  3.     Definir Nombre Como Caracter;
  4.     Definir promedio Como Real;
  5.     Para ciclo<-1 Hasta 3 Hacer
  6.         Escribir 'MENU OPCIONES';
  7.         Escribir '1. CALCULA PROMEDIO Y SI ES APROBADO';
  8.         Escribir '0. PARA SALIR DIGITE 0';
  9.         Escribir 'Digite una opcion: : ';
  10.         Leer opcion;
  11.         Segun opcion  Hacer
  12.             1:
  13.                 Escribir 'introduce el numero de control y el nombre del alumno';
  14.                 Leer N_control,Nombre;
  15.                 Escribir 'introduce las 5 calificaciones';
  16.                 Leer c1,c2,c3,c4,c5;
  17.                 promedio<-(c1+c2+c3+c4+c5)/5;
  18.                 Escribir 'boleta de calificaciones con promedio';
  19.                 Escribir 'numero de control:',N_control,'Nombre de alumno: ',Nombre;
  20.                 Escribir 'CALIFICACIONES';
  21.                 Escribir '     ',c1;
  22.                 Escribir '     ',c2;
  23.                 Escribir '     ',c3;
  24.                 Escribir '     ',c4;
  25.                 Escribir '     ',c5;
  26.                 Escribir '     ';
  27.                 Escribir 'promedio final: ',promedio;
  28.                 Si promedio>=6 Entonces
  29.                     Escribir 'APROBADO';
  30.                 Sino
  31.                     Escribir 'REPROBADO';
  32.                 FinSi
  33.             De Otro Modo:
  34.                 Escribir 'opcion erronea';
  35.         FinSegun
  36.     FinPara
  37. FinProceso
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement