Search:

Type: Posts; User: GregBrannon

Search: Search took 0.35 seconds.

  1. Replies
    8
    Views
    1,170

    Re: Formatting User input

    The array index, currentWord, is being incremented beyond the end of the arrayInput[]. Find out why and fix it. Put a boundary condition on the increment, if necessary.
  2. Replies
    8
    Views
    1,170

    Re: Formatting User input

    Make it easier for us to help you. In this case, post EXACT error messages and sample runs that show the problem. For example, this is what I got when I ran your program:

    Please input the...
  3. Replies
    8
    Views
    1,170

    Re: Formatting User input

    Welcome to the forum! Thanks for taking the time to learn to post code correctly.

    full stop = period or '.', right?

    The general algorithm I would start with is to determine the number of words...
Results 1 to 3 of 3