#include <stdio.h>
//練習問題A
int func(int n){
return (n>0)? n:-n;
}
int main(void) {
int n, m = 4;
n = func(m);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8v57e057+S5ZWP6aGMQQppbnQgZnVuYyhpbnQgbil7CglyZXR1cm4gKG4+MCk/IG46LW47Cn0KCgppbnQgbWFpbih2b2lkKSB7CglpbnQgbiwgbSA9IDQ7CiAgICBuID0gZnVuYyhtKTsKICAgIHByaW50ZigiJWTjga7ntbblr77lgKTjga8lZFxuIiwgbSxuKTsKCXJldHVybiAwOwp9Cg==