mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
24 lines
328 B
Text
24 lines
328 B
Text
var x, y, i, j;
|
|
|
|
fun printAS (x) {
|
|
var i, j;
|
|
for i := 0, i<x.length, i:=i+1 do
|
|
for j := 0, j<x[i].length, j:=j+1 do
|
|
write (x[i][j])
|
|
od
|
|
od
|
|
}
|
|
|
|
y := read ();
|
|
|
|
x := ["abcd", "efgh"];
|
|
|
|
printAS (x);
|
|
|
|
for i := 0, i<x.length, i:=i+1 do
|
|
for j := 0, j<x[i].length, j:=j+1 do
|
|
x[i][j] := 'a'
|
|
od
|
|
od;
|
|
|
|
printAS (x)
|