langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 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