实例 C++ 找出两个数字的最大值

x
 
#include <iostream>
using namespace std;
int main() {
  cout << max(5, 10);
  return 0;
}
                    

输出结果

10