Challenge: Sorting Arrays

QuestionsChallenge: Sorting Arrays
sethbeckerman5 Staff asked 4 years ago

I need a little help, I made a code to read a sequence of numbers, store them in an array and then print the even ones and then odd ones, but the test has a catch where I need to change the position of two values to pass 5 and 3:
Input data: 13452
Expected output: 42153
My output: 42135


View on Stack Overflow