>>159
問1
int max4(int a, int b, int c, int d)
{
return (a>b?a:b)>(c>d?c:d)?(a>b?a:b):(c>d?c:d);
}
ごめん、ちょっとやってみたかっただけ。