4.2 úʱݴݡ
#include <iostream>
using namespace std;
int max(int x,int y)              //вκmax
{int z;
 z=x>y?xy;
 return(z);
}

int main( )
{int a,b,c;
 cout<<please enter two integer numbers;
 cin>>a>>b;
 c=max(a,b);            //maxʵΪa,bֵc
 cout<<max=<<c<<endl;
 return 0;
}