Skip to content

Commit fb1a9ec

Browse files
committed
homework: amend example code (Sheet03)
1 parent d2c62ee commit fb1a9ec

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

homework/sheet03.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,20 +257,28 @@ if 1>0do
257257
if 8 do
258258
c:=b
259259
end
260-
b:=9
261-
end
262-
end
260+
b:=9+ 4*3 -7
263261
end
262+
end
263+
end
264264
```
265265

266266
soll
267267

268268
``` python
269269
a := 0
270270
if 10 < 1 do
271-
a := 42
271+
a := 42
272272
else do
273-
a := 7
273+
a := 7
274+
if 1 > 0 do
275+
while c do
276+
if 8 do
277+
c := b
278+
end
279+
b := 9 + 4 * 3 - 7
280+
end
281+
end
274282
end
275283
```
276284

0 commit comments

Comments
 (0)