65,208
社区成员
发帖
与我相关
我的任务
分享

,谢谢各位的回答#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
//string low_upperletters(string &s); // 什么情况这是???
int _MAX(int a, int* p);
int main(){
cout << "please enter two integers ";
int a, b, y;
cin >> a >> b;
cout << a << b << endl;
y = _MAX(a, &b);
cout << y << endl; //加一句输出。
return 0;
}
int _MAX(int a, int* p)
{
return ((a > *p) ? a : *p);
}
有什么问题吗?