what's the mistake in this code. Using while loop.