Segrigate the odd and even no in an array.
Anonymous
Found no of even no. Then stared scanning the array begging for odd no. Till counter was less than no of odd no's. Then when odd no was encounter it was swapped with first evwn no seen
Check out your Company Bowl for anonymous work chats.