compiler-design-eth/javali_tests/HW4_nop90/OkBoolBinaryOp.javali
Carlos Galindo 72cc3206c4
Homework 4
2020-01-15 22:34:57 +01:00

24 lines
No EOL
330 B
Text
Executable file

/* testing conditions*/
class Main {
void main() {
boolean a;
int b,c, d, e;
b = 10;
c = 3;
d = 40;
e = 1;
while ( b >= c ) {
write(b);
b = b-1;
}
a = c <= (b+4-5/2);
if (a){
write(13);}
if (100/2>d*e){
while(e<d){
d = d/2;}}
}
}