Getting wrong anwer

Mu output is coming same as sample output

Please share code link

this is the code https://ide.codingblocks.com/s/171584

Hey,
just a few updates in your code
Your logic is correct
Do not print cout <<“Enter no of lines”
not required in competitive coding
\t is needed since the o/p has tab space
Updated 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.