Arithmetics+corrections (expressions only)

This commit is contained in:
Dmitry Boulytchev 2018-10-23 23:18:00 +03:00
parent ee402687de
commit eb72a6aa3d
6 changed files with 72 additions and 45 deletions

View file

@ -1,17 +0,0 @@
fun printString (x) {
for i:=0, i<x.length, i:=i+1 do
write (x[i])
od
}
n := read ();
x := "abcdefgh";
printString (x);
for i:=0, i<x.length, i:=i+1 do
x[i] := x[i]+2
od;
printString (x)