C Program to display series and find sum of 1+3+5+……..+n Post author:Educate Post published:August 1, 2023 Post category:C and C++ Post comments:0 Comments #include #include void main() { int n,i,sum=0; clrscr(); printf(“Enter any no: ”); scanf(“%d”,&n); for(i=1;i *************************** Output: Enter any no: 7 1+3+5+7 Sum=16 *************************** You Might Also Like C program to find the maximum number in array using pointer August 2, 2023 C Program to check whether two given lists are containing the same data August 30, 2023 C program to implement Pascal triangle August 30, 2023 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.