Bubble sort algorithm to sort an array in Delphi

YouTube

Video title : Bubble sort algorithm to sort an array in Delphi

Video description : Bubble sort algorithm to sort an array in Delphi

Brandon Long is a Computer and IT teacher from South Africa. He teaches Computer Application Technology and Information Technology to Grades 10 (age 16) to Grade 12 (age 18) at a high school. On his YouTube channel, he hosts videos created by himself for his IT students covering exams, concepts and skills.

Visit Brandon’s YouTube channel here

Used with permission.<

2 Comments

  1. var
    i, j, temp: integer;
    begin
    for i := 1 to 7 do
    begin
    for j := 1 to 7 do
    begin
    if arrNames[i] > arrNames[j] then
    begin

    end;

    end;

    A code like this we use in school, the part black usually is
    temp := x[i]
    x[i] := k[j]
    k[j] := temp;

    Im doing a text tomorrow and im stuck on sorting a text file, i forgot how to do it…im screwed

Leave a Reply

Your email address will not be published.


*