Implemented if statements
This commit is contained in:
parent
c139dced9e
commit
962a362578
16 changed files with 280 additions and 14 deletions
|
@ -1,5 +1,11 @@
|
|||
main() {
|
||||
exit(f(1) + f(2) + f(3))
|
||||
x := f(1) + f(2) + f(3)
|
||||
|
||||
if x != 9 {
|
||||
exit(42)
|
||||
}
|
||||
|
||||
exit(0)
|
||||
}
|
||||
|
||||
exit(code) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue