compiler-design-eth/javali_tests/HW4_nop90/OkUnaryOperators.javali
2020-01-15 22:38:07 +01:00

15 lines
No EOL
302 B
Text

class Main {
void main() {
int a, b;
a = 1;
b = 2;
write(+a); writeln();
write(-a); writeln();
write(+a --b); writeln();
write(-a--b); writeln();
write(-----a-----5--b); writeln();
write(-----a*---------b);writeln();
}
}