Problem Description
求两个整数中的最大值。
Input
两个数。
Output
输出最大的值,格式为: max=最大值。
Example Input
1 2
Example Output
max=2
#include<stdio.h>
int main()
{
int max,a,b;
scanf("%d%d",&a,&b);
max=a;
if(b>a) max=b;
printf("max=%d",max);
return 0;
}