source:
liacs/coco/tests/simple/correct7.p0
Last change on this file was 2, checked in by , 15 years ago | |
---|---|
File size: 141 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | program simpleiftest; |
2 | ||
3 | var | |
4 | a,b: integer; | |
5 | ||
6 | begin | |
7 | a := 3; | |
8 | b := 2; | |
9 | if (a > b) then | |
10 | writeinteger(3) | |
11 | else | |
12 | writeinteger(4) | |
13 | end. |
Note:
See TracBrowser
for help on using the repository browser.