Code
Code
class Program
return; // Exit the program if the number is not within the valid range
if (number % 2 == 0)
else
// Initialize variables to store the sum of odd numbers and product of even numbers
int sumOfOdd = 0;
int productOfEven = 1;
if (i % 2 != 0)
else