Compiler issue endl is not working

my code is printing the output in the same line in spite of using endl as you switch to another question everything goes off.

Pls share your code here… I will see what is the issue with it …

nothing remain save int he compiler everything goes of once you switch to another question

You need to submit the solution if you want it to save to the compiler in the course challenges… and for ide , you need to save your code and a no will be generated… You can use that same link to access your code in future…