k the whole program is as follows:
( of course i didn't even manage to solve it)
**********************************************
#include <iostream.h>
void main()
{
int x = 0;
int y = 0;
while(!x)
{
switch(x)
{
case 0:
for(x=3;x>0;x--)
{
switch(y)
{
case 0:
cout<<"yes"<<endl;
break;
default:
cout<<"no"<<endl;
break;
}
}
if(y>0)
x = y;
break;
case 1:
break;
case 2:
breal;
}
y++;
}
}
*******************************************
so...can some1 explain this program to me in detail plz??