Problem with code

what is the mistake in this?