#include
using namespace std;
int main()
{
int a,b;
cout<<“输入两个正整数,中间用空格分开”<<endl;
cin>>a>>b;
if(a>b)
cout<<a-b<<endl;
else
cout<<b-a<<endl;
return 0;
}
09-16
#include
using namespace std;
int main()
{
int a,b;
cout<<“输入两个正整数,中间用空格分开”<<endl;
cin>>a>>b;
if(a>b)
cout<<a-b<<endl;
else
cout<<b-a<<endl;
return 0;
}