Whenever I use a do-while statement, it does not look neat. Its really annoying because most of my code looks quite neat then this just messes it all up!
Can anyone tell me how to make them neat!
Sorry, dont have an example.
Whenever I use a do-while statement, it does not look neat.
I share the sentiment. I prefer all of my braces to be alone on a line, and that looks very odd in a do-while loop. It violates my sense of symmetry. Unfortunately, sometimes it is the best tool for the job!