Help rahul,i am getting no output

https://ide.codingblocks.com/s/259700 thats the code

@lukharshiv,
Put:

			int mid = (s + e) / 2;

Inside the while loop. Because at every iteration you need to update mid as well