#include<iostream>
using namespace std;
int main()
{
int a,b;
cout<<"please input two positive integers"<<endl;
while(cin>>a>>b){
if((a>0)&&(b>0)){
if(a>b)
cout<<"The difference between the two Numbers "<<a-b<<endl;
else
cout<<"The difference between the two Numbers "<<b-a<<endl;
}
else
cout<<"Input errors!"<<endl;
}
return 0;
}
07-13
07-13
07-13
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交