Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
16
Task/Loops-Nested/PascalABC.NET/loops-nested.pas
Normal file
16
Task/Loops-Nested/PascalABC.NET/loops-nested.pas
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
label 1;
|
||||
|
||||
begin
|
||||
var a: array [,] of integer := MatrRandomInteger(3,4,1,10);
|
||||
a.Println;
|
||||
|
||||
var found := False;
|
||||
for var i:=0 to a.RowCount-1 do
|
||||
for var j:=0 to a.ColCount-1 do
|
||||
if a[i,j] = 5 then
|
||||
begin
|
||||
found := True;
|
||||
goto 1;
|
||||
end;
|
||||
1: Println(found);
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue