mike Hanin
hi, I wrote a program to input senteces, to analyze them and to give me the numer of words in the sentece, the program is running and compiling, but after I put in the sentence and get the number of words from the program I also get "out of bound" and a general error, can anybody take a look,
thanks in advance Mike.
using
namespace sentence
{
class WordCount
}
sentence =
wordList = sentence.Split(
word = wordList[i].Trim();
sizeCount[0]++;
sizeCount[word.Length]++;
characterCount = characterCount + word.Length;
runAgain =
continueRunning =