3039682204

3039682204



C:\FPC\2.2.4\bin\i386-win32\fp.exe

File Edit Search Run Compile Debug Tools Options Windów Help

=[■ ]^=    = piec.pas

Program piec;

<program przepisujący elementy dwuwymiarowej tablicy <5x5> do tablicy jednowymiarowej <25>, wyświetlić obie tablice -poniżej odwrotnie > oar tabela_jednowymiarowa : array [ . .2E] of integer; tabela_dwuwymiarowa : array [ ..5,1..5] of integer; a,b,c : integer;

begin

for a:=l to 25 do begin

tabela_jednowymiarowa[a]: =a; write<tabela_jednowymiarowa[a], * * >;

end;

for a:=1 to 5 do begin

for b:=l to 5 do begin

c: =c+l;

tabe la_dwuwy miar owa [a, b ]: =tabe la_jednowymiarowa Cc ] write<tabela_dwuwymiarowa[a,b],' ' >;

end;

end; readln;



Wyszukiwarka

Podobne podstrony:
C:FPC2.24ini386-win32fp.exe File Edit Śearch Run Compile Debug Tools Óptions Mindow Help for b:=l t
zadanie5 2 bmp [ST TPX.EXE File Edit Search Run Compile Debug Tools Options Window Help^[■]
zadanie5 3 bmp [ST TPX.EXE File Edit Search Run Compile Debug Tools Options Window Help f=E«]
z komentarzem 5 2 bmp Bą tpx.exe File Edit Search Run Compile Debug Tools Options Mindow Help =[■]
z komentarzem 5 3 bmp [ST TPX.EXE File Edit Search Run Compile Debug Tools Options Window Helpf=E«]
zad File Edit Search Run Compile Debug Tools Options Uindów Help rli]
z komentarzem 3 bmp File Edit Search Run Compile Debug Tools Options Uindów Help .=[■]
File Edit Searcłi Run Compile Debug Tools Options Window Help ■1-1 2=1T] n=[ ■
zadanie5 1 bmp Bą tpx.exeBSD File Edit Search Run Compile Debug Tools Options n=E" 1= DOCUME~1W
12vcg10 ^Microsoft Visual C++ [run] - STARAE.EXE File Edit View Project Browse Debug Tools Options W
zad 9 DOSBox 0.74, Cpu speed: 3000 cycles, Frameskip 0, Program: TURBO File Edit Search Run Compile
zad 6 DOSBox 0.74, Cpu speed: 3000 cycles, Frameskip 0, Program: TURBO File Edit Search Run Cowpile
Bez tytułu(2) iloczyn - Microsoft Visual Studio File Edit View Project Build Debug Tools Test Window
031 ht4 File Ldit Search rUin Conpile Debug Project Options Window Help rrogram resex Co to cursor&n
20vbu08 Microsoft Visual C++ - SCALCWIN.MAK <1 > Output File Edit View Project Browse Debug lo

więcej podobnych podstron