15 lines
208 B
Text
15 lines
208 B
Text
/* Test read/write native functions */
|
|
class Main {
|
|
void main() {
|
|
int r1, r2;
|
|
int i0, i1, i2;
|
|
|
|
i0 = 5;
|
|
i1 = read();
|
|
|
|
r1 = i0 + i1;
|
|
write(r1); writeln();
|
|
|
|
write(r1 - 3); writeln();
|
|
}
|
|
}
|