How To Take User Input In Function