compiler-design-eth/javali_tests/HW1_nop90/UnaryOperators.javali

15 lines
302 B
Text
Raw Normal View History

2020-01-15 22:18:07 +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();
}
}