KCS151/KCS251 PPS Lab Exercise Dr. A.P.J. Abdul Kalam Technical University (AKTU), Lucknow KCS151 / KCS251 Programming for Problem Solving - Using C Language Lab Exercise 14. Write a program to print the sum of even and odd numbers from 1 to N numbers. Sample Input and OutputStdin Inputs:10Sample Result:Input number: 10Sum of all odd numbers up to 10 is 25.Sum of all even numbers up to 10 is 30. Previous Next