#include<stdio.h>
int main()
{
int max();
extern int A,B,c;
printf("请输入数字\n");
scanf_s("%d,%d,%d",&A,&B,&c);
printf("最大值是%d\n", max());
while (1);
}
int A, B, c;
int max()
{
int m;
m = (A > B) ? A : B;
if (c>m)
m=c;
/*m = c;*/
return(m);
}
MadMarical
相关分类