![]() |
#2
funyh2502014-06-28 23:03
|
#include<iostream>
using namespace std;
void main()
{
int x=3,y=6,z=0;
while(x++!=(y-=1))
{
++z;
if(y<x)
break;
cout<<z<<endl;
}
cout<<"x="<<x<<",y="<<y<<",z="<<z<<endl;
}