AStat/examples/disjunction/disjunction.c

10 lines
118 B
C

void main() {
int x = rand(-10, 10);
if(brand) {
x *= 2;
} else {
x *= 3;
}
assert(x%3 == 0 || x%2 == 0);
}