My program is not fulfilling last condition. Please tell whats the error.