Search:

Type: Posts; User: tamtimtom

Search: Search took 0.18 seconds.

  1. Replies
    8
    Views
    345

    Re: Formatting User input

    public class Main
    {

    public static int lineLengthIncrease (int lineLength, int newWord, int width)
    {
    if ( lineLength == 0) // Adding the new word, but no space added as the first...
  2. Replies
    8
    Views
    345

    Re: Formatting User input

    Bump, please can anybody help?
  3. Replies
    8
    Views
    345

    Re: Formatting User input

    UPDATE:

    I REALLY need help with this, I have been tearing my hair out for days now. :(

    So far, I have managed to get the top 4 lines working perfectly, but I cannot get the last line to work...
  4. Replies
    8
    Views
    345

    Re: Formatting User input

    Thank you both so much! I shall have another crack today!

    Makes so much more sense to split the words individually and determine how many will go on each line. I worry how my head functions...
  5. Replies
    8
    Views
    345

    Formatting User input

    Hey everyone!

    So, I have been given a piece of work to do for College that requires me to format user input. For example:

    This is an example of text that will have straight left and right...
Results 1 to 5 of 5