BurritOS/test_programs/riscv_instructions/boolean_logic/comparisons.c
2023-02-08 15:01:41 +00:00

15 lines
256 B
C

int main() {
int x = 0;
int y = 1;
while (x <= y) {
if (x > y) {
x += 1;
} else if (x == y) {
x += y;
} else if (x < y) {
y += 1;
} else {
return;
}
}
}