ifthenelse

This commit is contained in:
Vu Tuan Minh
2025-04-11 14:31:27 +02:00
parent db68bc1a4e
commit 2948c372dd
3 changed files with 50 additions and 12 deletions

View File

@@ -9,5 +9,8 @@ FUNC INT main() {
c := c + 1
}
DONE
IF c -1
THEN READ a ELSE READ b
FI
b:=c+1
RETURN 4 + 6 * 5 + 2 }