Sneaker's Stub – The Grey Stuff!

Program to display series and find sum of 1+3+5+…+n in C language

The series 1+3+5+..+n, is a series of odd number. We need to write a program to display this series as well as find the sum upto nth number. The n will be inserted by the user. The program has been compiled and executed under DEV c++.