L Linh Chi New member Dec 27, 2021 #1 How do I add a new line in printf? Answer Try this: printf ‘n%sn’ ‘ I want this on a new line! ‘ That allows you to separate the formatting from the actual text.
How do I add a new line in printf? Answer Try this: printf ‘n%sn’ ‘ I want this on a new line! ‘ That allows you to separate the formatting from the actual text.