MY CODE IS WORKING ABSOLUTELY CORRECT .BUT STILL FAILING TEST CASES

MY CODE URL IS:-https://ide.codingblocks.com/s/571372

PLZ tell my mistake so that i rectify it .or u please correct it.

Logic is correct
only one small mistake is there
in the last else block the string you are printing is not correct it should be exactly same
also print newline after that (using endl)

Modified code

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.