Corrected a mistake in scanf statement