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 Program to Calculate leading for all the mon terminals of the given grammer August 18, 2023 C program for finding the largest number in an array (dynamic memory allocation) August 2, 2023 C program to find largest of two numbers using functions August 2, 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.