int quick(int[] a,int d,int s,int st){
int loc=0;
stepx:{ while(a[loc]<=a[st] & loc!=st)
st–;
if(loc==st)
return loc;
if(a[loc]>a[st])
{
int temp=a[loc];
a[loc]=a[st];
a[st]=temp;
loc=st;
break stepy;
}
}
stepy:{
while(a[s]<=a[loc] & s!=loc)
s++;
if(loc==s)
return loc;
if(a[loc]<a[s])
{
int temp=a[s];
a[s]=a[loc];
a[loc]=temp;
loc=s;
break stepx;
}
}
return loc;
}
I want to do quick short.but it is error showing in break statements: "Label stepx & stepy is misssing?
Thanks in Advance.