Guest User

Untitled

a guest
Dec 10th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. function Seguidilla(var cab,fin : Tpuntero);
  2. var
  3. a:integer;
  4. aux: Tpuntero;
  5. begin
  6. Writeln('ingrese un numero: ');{inicializacion de la adquisicion}
  7. Readln(a);
  8. aux:=cab;
  9. case aux^.next of
  10. nil: Writeln('secuencia vacia');
  11. else begin {inicializacion del tratamiento}
  12. while aux^.next<>nil do
  13. aux:=aux^.next;
  14. if aux^.info>=a then
  15. Writeln(aux^.info);
  16. end;
Add Comment
Please, Sign In to add comment