I'd probably try something alone the lines of this. Go through the array from start to finish and simply check if the current number is smaller than the next? If yes raise the number of occurances by...