2. gotoxy(28,7);
write('HERNAN JAVIER TORRES BAQUERO');
gotoxy(38,9);
write('Alumnos:');
gotoxy(24,13);
write('AGUSTIN DE JESUS VILLALOBOS FLORIAN');
gotoxy(37,14);
write('Ingeniero:');
gotoxy(19,20);
write('FUNDACION UNIVERSITARIA DE SAN - GIL UNISANGIL');
gotoxy(32,21);
write('INGENIERIA DE SISTEMAS');
gotoxy(34,22);
write('ESTRUCTURA DE DATOS');
gotoxy(37,23);
write('CHIQUINQUIRA');
gotoxy(41,24);
write('2013');
end;
2:
begin
gotoxy(3,2);
write('Ingrese el primer numero: ');
readln(a);
gotoxy(3,3);
write('Ingrese el segundo numero: ');
readln(b);
gotoxy(3,4);
write('Ingrese el tercer numero: ');
readln(c);
gotoxy(3,6);
write('El orden de los numeros en forma ascendente es: ');
if ((a>b) and (b>c)) then
write(a,b,c);
if ((a>c) and (c>b)) then
write(a,c,b);
if ((b>a) and (a>c)) then
3. write(b,a,c);
if ((b>c) and (c>a)) then
write(b,c,a);
if ((c>a) and (a>b)) then
write(c,a,b);
if ((c>b) and (b>a)) then
write(c,b,a);
end;
3:
begin
gotoxy(3,2);
write('Ingrese el numero que desee: ');
read(n);
for i:=1 to n do
if i mod 2=0 then
writeln(' El numero par es: ',i)
end;
4:
begin
gotoxy(3,2);
write('Digite un numero entre 1 y 7 para conocer el dia al cual
corresponde: ');
read(y);
gotoxy(3,4);
if y=1 then
write('El dia correspondiente al numero 1 es: Lunes.');
if y=2 then
write('El dia correspondiente al numero 2 es: Martes.');
if y=3 then
write('El dia correspondiente al numero 3 es: Miercoles.');
if y=4 then
write('El dia correspondiente al numero 4 es: Jueves.');
if y=5 then
write('El dia correspondiente al numero 5 es: Viernes.');
if y=6 then
write('El dia correspondiente al numero 6 es: Sabado.');
4. if y=7 then
write('El dia correspondiente al numero 7 es: Domingo.');
if ((y>7)and(y<1)) then
begin
gotoxy(3,4);
writeln('La opcion ingresada no corresponde a las establecidas en el
menu.');
gotoxy(3,5);
write('El programa se cerrara. Por favor seleccione de nuevo otra (1 - 7).');
end;
end;
5:
begin
gotoxy(3,2);
writeln('Gracias por utilizar nuestro programa que tenga buen dia.');
gotoxy(3,3);
write('Por favor presione una tecla para salir!!!');
end;
else
gotoxy(3,2);
writeln('La opcion ingresada no corresponde a las establecidas en el
menu.');
gotoxy(3,3);
write('El programa se cerrara. Por favor seleccione de nuevo otra (1 - 5).');
end;
ReadKey;
end.
________________________________________________________________________________
____________________________________