Array - 2 Dimensional (2D) Arrays

preview_player
Показать описание
Demonstrating how to declare and use a 2 dimensional (or 2D) array to display data in a table format and to perform calculations on it. Part of the Grade 12 CAPS syllabus for Information Technology subject.
#MrLongEducation #Programming #Arrays
Рекомендации по теме
Комментарии
Автор

Thank u Mr Long 👑 your videos have really helped me out. Im writing IT p1 today and I feel more confident thanks to u

unathigaga
Автор

I wish I knew delphi like you, boy oh boy would my marks look phenomenal

titzmcgeee
Автор

thank you for all the videos!! Will share them at school cause we have a crappy teacher. I actually understand a lot of the stuff much better now!

luckycastle
Автор

Can you please make a video explaining how to declare arrays in a class, and how they would be implemented into the constructor create.

cannedgoods
Автор

thank you Mr Long, very happy and you helped out a lot

chummybarrel
Автор

can you please help with adding columns into a string grid and populating it from a 2D Array?

ameesharanchhod
Автор

var iX, iY : integer;
iSum : real;
begin

for iX := 1 to 6 do
begin
iSum := 0 ;
StringGrid1.Cells[iX, 0] := IntToStr(iX);
for iY := 1 to 4 do
begin
StringGrid1.Cells[0, iY] := IntToStr(iY);
StringGrid1.Cells[iX, iY] := IntToStr(random(45) + 14 );
iSum := iSum + StrToInt(StringGrid1.Cells[iX, iY]) ;
end;
StringGrid1.Cells[iX, 5] := FloatToStr (iSum / 4);
end;
StringGrid1.Cells[0, 5] := 'Avg :';

paranoyakepizot
Автор

mr long do you have an email? if so can i have it.

kgaugelokgomo
Автор

THANK YOU, IT HELPED :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)

ricostander