//2002.9.22.show all nums between any 2 nums...\
#include <iostream.h>
main()
{
cout<<endl;
cout<<"+++++++++++++++++++++"<<endl;
cout<<"please input 2 nums: "<<endl;
cout<<endl;
long int x,y;
cout<<"please input the x.value: "<<endl;
cin>>x;
cout<<"please input the y.value: "<<endl;
cin>>y;
long int mid;
if (x>=y)
{
mid=x;
}
else
{
mid=x;x=y;y=mid;
}
//cout<<endl;
//cout<<"the big one is: "<<x<<endl;
cout<<endl;
long int z=y;
for (int i=y;i<=x;++i)
{
cout<<"z= "<<z<<", "<<endl;
z=z+1;
}
cout<<endl;
cout<<"the big one is: "<<x<<endl;
cout<<endl;
cout<<"have you seen the result?"<<endl;
char bb;
cin>>bb;
return 0;
}