题解 | #获取两数中的较大值#
获取两数中的较大值
http://www.nowcoder.com/practice/136bd5e1021d4d698b9f5227d7dfb684
using namespace std;
int main() {
int a,b;
int result;
scanf("%d %d",&a,&b);
if(a>b){
result=a;
}
else{
result=b;
}
printf("%d\n",result);
// write your code here......
return 0;
}