I'm trying to count the longest string of consecutively increasing elements in a randomly generated array, MOODS. This code always returns one less than what is correct. I'm trying to count the longest string of conse
I'm trying to count the longest string of consecutively increasing elements in a randomly generated array, MOODS. This code always returns one less than what is correct. I'm trying to count the longest string of conse