#include <iostream> using namespace std; int main() { int a,b,c,d; cout<<"请输入4个整数,ok?"<< endl; cin>>a>>b>>c>>d; int max=a; if (max<b) max=b; if (max<c) max=c; if (max<d) max=d; cout<<max<<endl; return 0; }