#include <stdio.h>
int max(int a, int b)
int main(int argc, char* argv[])
{
int x, y
scanf("%d %d", &x, &y)
int result = max(x, y)
printf("max=%d\n", result)
return 0
}
int max(int a, int b)
{
int temp
if (a >b) temp = a
else temp = b
return temp
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)