Guest User

Untitled

a guest
Dec 14th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. x,i:integer;
  2. label 1;
  3. begin
  4. 1:
  5. for i:=1 to n do
  6. if i<>n then
  7. if a[i]>a[i+1] then
  8. begin
  9. x:=a[i];
  10. a[i]:=a[i+1];
  11. a[i+1]:=x;
  12. goto 1;
  13. end ;
Add Comment
Please, Sign In to add comment