Name: ____________________________________________________ Alpha: _____________________

Describe help received: _________________________________________________________________

Write a program that reads 10 positive ints from the user and prints them into order so that all the odd numbers come first (in increasing size) followed by all the even numbers (in increasing size). For example:

    ~/$ ./hw
    18 2 7 14 29 3 5 8 16 11
    3 5 7 11 29 2 8 14 16 18

It is expected that you use selection sort (as described in the notes), and there is a "good" way to do this, and an "ugly hack" way to do it. Try to do it the good way!

Turn In a screen capture of your program running on the above input, and a printout of your source code.