Write a c program to compute the sum of even numbers and the sum of odd numbers using a function