aboutsummaryrefslogtreecommitdiff
path: root/tests/i/loops/notes.md
blob: bdd322a93bbcf51ff71942cbfbaf50d4dc68919a (plain)
1
2
3
4
5
6
7
8
9

# loops

Human review: pending. Expected output was independently traced by AI, not captured from cpsc.

Basis: CIE pp. 20-21.

Trace: FOR contributions are 0, 2, and 3+1-1=3. WHILE contributes 0+1+2=3. REPEAT contributes 10 once, then counts to 3. Total=18.

WHILE headers use the standard CIE spelling without DO. The separate standard-while fixture also checks this syntax.