Pls check my code not giving output