I need to add consecutive numbers to a new array and, if it is not a consecutive number, add only that value to a new array:I need to add consecutive numbers to a new arra
I need to add consecutive numbers to a new array and, if it is not a consecutive number, add only that value to a new array:I need to add consecutive numbers to a new arra