Last change
on this file since 255 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
240 bytes
|
Rev | Line | |
---|
[2] | 1 | program calculatortje;
|
---|
| 2 |
|
---|
| 3 | var
|
---|
| 4 | a, a1, a2: integer;
|
---|
| 5 |
|
---|
| 6 | function plus(a, b: integer): integer;
|
---|
| 7 |
|
---|
| 8 | begin
|
---|
| 9 | plus := a + b
|
---|
| 10 | end;
|
---|
| 11 |
|
---|
| 12 | begin
|
---|
| 13 | a1 := readinteger;
|
---|
| 14 | a2 := readinteger;
|
---|
| 15 | writeinteger(a1);
|
---|
| 16 | writeinteger(a2);
|
---|
| 17 | writeinteger(plus(a1,a2))
|
---|
| 18 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.