Hi everyone

Im on the peak to explode! :P

For a week now i am trying to find an algorithm to get 6 numbers which 3 of them should be odd and the other even..Then determine which one from even is smallest and which one from odd is the smallest..

So far i can only ask the user to enter 6 numbers(the user should enter the odd/even in any sequence (odd, even, odd, odd etc)..I CANNOT figure out how using the % operator can determine which numbers are odd or even and THEN figuring out which is the smallest from odd and from even!

I tried A LOT (and i mean A LOT) of combination but nothing!!