compiler-design-eth/javali_tests/HW4_nop90/OkUnaryOperators.javali

15 lines
302 B
Text
Raw Normal View History

2020-01-15 22:32:25 +01:00
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();
}
}