是作为比较两个数大小的代码还可以作为参考 变成比较3个数大小的代码,如下:#include "stdio.h"void main(){int max(int x ,int y,int z);int a,b,c,t;scanf("%d%d%d",&a,&b,&c);t=max(a,b,c);
printf("max=%d\n",t);
getch();}int max(int x,int y,int z){int temp;if(x>y) temp=x;else temp=y;if(z>temp) temp=z;return(temp);}int max(int x,
|