Files
cs420/examples/bar.c
Jeehoon Kang 1b7d25314d Update test
2020-03-17 22:30:16 +09:00

11 lines
202 B
C

int bar(int x, int y, int z){
int arith_mean = (x + y + z) / 3;
int ugly_mean = (((x + y) / 2) * 2 + z) / 3;
if (x == y) { return y; }
else { return z; }
}
int main() {
return 1;
}