#include<iostream.h> void main() { int a,b; cout<<"请输入两个整数"<<endl; cin>>a>>b; cout<<"a="<<a<<"b="<<b<<endl;// if(fabs(a)>fabs(b)) cout<<"a,b中绝对值较大的为:"<<a<<endl; else cout<<"a,b中绝对值较大的为:"<<b<<endl; }