Advertisement
islemsid

PROGRAM NOME

Jan 20th, 2020
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.44 KB | None | 0 0
  1. Program exe4_121;
  2. uses wincrt;
  3. var nom: string;
  4. a: longint;
  5. b: real;
  6. col,i:integer;
  7. Begin
  8. write('Donner votre nom et votre prénom : ');readln(nom);
  9. for i:=1 to 10 do
  10. begin
  11. for col:=80-length(nom) downto 1 do
  12. begin
  13. clrscr;
  14. gotoxy (col, 12);
  15. write (nom);
  16. for a:=1 to 100000 do b:=cos(b+pi); {delay}
  17. end;
  18. for col:=1 to 81-length(nom) do
  19. begin
  20. clrscr;
  21. gotoxy(col, 12);
  22. write(nom);
  23. for a:=1 to 100000 do b:=cos(b+pi);
  24. end;
  25. end;
  26. End.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement