ascending

JavaF

Sort – Odd & Even Ascending

An array of N numbers is passed as the input. The program must sort the odd numbers and even numbers separately in ascending order. The odd…