AStat/examples/disjunction/disjunction.c

11 lines
118 B
C
Raw Normal View History

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