Formatting in do-while loop.