int main(void)
{
int i, j, h, max1,max2;
printf("請輸入三個數(中間以空格隔開):\n");
scanf("%d %d %d", &i, &j, &h);
max1=i>j?i:j;
max2=max1>h?max1:h;
printf("最大的數=%d\n",max2);
return 0;}
希望對妳有幫助 求最佳