dsThe sum of an odd number and even number is This is a C program to find the sum of odd and even numbers from 1 to N.…byJohn