Wave print doubt

output not coming properly

send me your code link