Waveprint column wise

how to print END at the end of the output ,
remainings are fine

i have written END explicitly at the end of the output , and all test cases passed . but is there any inbuilt way like EOF(end of file)