I have a question on how to make a text formatter using Java. I attempted in doing so, but got a really low score on it, and so I'm having to rely on someone kind enough to help me.
We use string tokenizers so that the word won't break off at the end? For Left, we leave it as is? For right, we subtract string.length with the width? I'm assuming to get center we get (width - user's sentence)/2 then place at beginning and end of the text