hi all, I am a novice programmer who wants to learn programming pascal, I learned through the Internet about pascal, I was confused to sort random data using a bubble sort, because I am still a beginner about pascal, I want to learn more, if there are friends -personal all here are willing to help me to sort the data using a bubble sort pascal I say thank you has helped me in learning

The following syntax pascal I made for a random sequence of data, I want to sort the numbers which is displayed using a bubble sort

uses wincrt;
var
i : integer;
A : Array [1..20] Of Integer;
Begin
Randomize;
For i:=1 to 20 DO
begin
A[i] := Random(20);

Write(A[i]:5);

end
end.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.