Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.68 KB | None | 0 0
  1. var
  2. i,kek,ch:integer;
  3. gl,sog,ima:string;
  4. a,b,c:string;
  5. stro,ka:string;
  6. begin
  7. gl:='аоуыиэе';
  8. sog:='цкнгшзхфвпрлджчсмтб';
  9. repeat
  10. randomize;
  11. kek:=random(4)+2;
  12. for i:=1 to kek do begin;
  13.  
  14. ch:=random(2)+1;
  15. if ch=1 then begin;
  16. a:=Copy(sog, random(20), 1);
  17. b:=Copy(gl, random(8), 1);
  18. c:=Copy(sog, random(20), 1);
  19. ima:=Concat(ima,a,b,c);
  20. end;
  21. if ch=2 then begin;
  22. a:=Copy(gl, random(8), 1);
  23. b:=Copy(sog, random(20), 1);
  24. ima:=Concat(ima,a,b);
  25. end;
  26. if ch=3 then begin;
  27. a:=Copy(sog, random(20), 1);
  28. b:=Copy(gl, random(8), 1);
  29. ima:=Concat(ima,a,b);
  30. end;
  31.  
  32. end;
  33. write(uppercase(copy(ima,1,1)),copy(ima,2,200));
  34.  
  35. ima:='';
  36. readln;
  37. until i = 9
  38. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement