Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
$ include "seed7_05.s7i";
|
||||
|
||||
const proc: main is func
|
||||
local
|
||||
var integer: numRows is 0;
|
||||
var integer: numCols is 0;
|
||||
var array array integer: anArray is 0 times 0 times 0;
|
||||
begin
|
||||
write("Give me the numer of rows: ");
|
||||
readln(numRows);
|
||||
write("Give me the numer of columns: ");
|
||||
readln(numCols);
|
||||
anArray := numRows times numCols times 0;
|
||||
anArray[1][1] := 3;
|
||||
writeln("The number at place [1, 1] is " <& anArray[1][1]);
|
||||
end func;
|
||||
Loading…
Add table
Add a link
Reference in a new issue