#include <stdio.h>
//関数のプロトタイプ宣言
//ここ↓を埋めてね1
int max(int,int);
//main関数
int main(void) {
int a,b,c,d;
//ここ↓を埋めてね2
a=3;
b=4;
c=5;
d=1;
printf("%dと%dと%dと%dの4つの数のうち、最大値は%dである。",a
,b
,c
,d
,max
(max
(a
,b
),max
(c
,d
))); return 0;
}
//max関数の定義
int max(int x,int y){
//ここ↓を埋めてね3
return (x>y)?x:y;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8v6Zai5pWw44Gu44OX44Ot44OI44K/44Kk44OX5a6j6KiACi8v44GT44GT4oaT44KS5Z+L44KB44Gm44Gt77yRCmludCBtYXgoaW50LGludCk7CgovL21haW7plqLmlbAKaW50IG1haW4odm9pZCkgewogICAgaW50IGEsYixjLGQ7Ci8v44GT44GT4oaT44KS5Z+L44KB44Gm44Gt77ySCmE9MzsKYj00OwpjPTU7CmQ9MTsKIHByaW50ZigiJWTjgaglZOOBqCVk44GoJWTjga4044Gk44Gu5pWw44Gu44GG44Gh44CB5pyA5aSn5YCk44GvJWTjgafjgYLjgovjgIIiLGEsYixjLGQsbWF4KG1heChhLGIpLG1heChjLGQpKSk7CnJldHVybiAwOwp9Ci8vbWF46Zai5pWw44Gu5a6a576pCmludCBtYXgoaW50IHgsaW50IHkpewovL+OBk+OBk+KGk+OCkuWfi+OCgeOBpuOBre+8kwpyZXR1cm4gKHg+eSk/eDp5Owp9