摘要:
以下是几种常见排序: 1 const max=100;n=10; 2 var i:integer; 3 a,b:array[1..n] of integer; 4 procedure swap(var a,b:integer); 5 var t:integer; 6 begin 7 t:=a;a:=b;b:=t; 8 end; 9 procedure print; 10 var i:integer; 11 begin 12 for i:=1 to n do 13 write(a[i],' '); 14 writeln; 15 end; 16 procedure createAr 阅读全文