There is one improvement I would do on your code GregBrannon as your current code executes at O(n)



// method odds2() prints and counts the number of odd numbers from the
// given...