int productOdds(int n) { int result = 1; for(int i = 3; i <= n; i += 2) { result = result * i; } return result; }