Prateek sir coding


please tell me what is wrong with my code

@Dhruv-Miglani-2090236747707980 Hey Dhruv, In printing the result you somewhere missed endl.

@Dhruv-Miglani-2090236747707980 Hey Dhruv, I hope I’ve cleared your doubt. Please mark this doubt as resolved and rate me on the basis of your experience. Rating option is just below where you mark this doubt as resolve. Your feedback is very important. It helps us to 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.