1. Write a program to find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program 
2. Write a program to find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loo c Program 
3. Write a program to find out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program

1.
Write a program to find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program - Program Code

/* Write a program to find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop  */
   #include<stdio.h>
   #include<conio.h>
   void main()
   {
     float i,n,sum=0;
     clrscr();
     printf("Enter N : ");
     scanf("%f",&n);
     for(i=1;i<=n;i++)
     {
       sum = sum + 1/i;
     }
     printf("Sum of series = %f",sum);
     getch();
   }               

find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program - Program Code

find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program output - Program Code

find out the sum of serise 1+1/2+1/3+1/4+.....+1/n using for loop c program output - Program Code

Download Program source code
Download To click here...

2.
Write a program to find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loo c program - Program Code

/* Write a program to find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop   */
   #include<stdio.h>
   #include<conio.h>
   void main()
   {
     float i,n,sum=0;
     clrscr();
     printf("Enter N : ");
     scanf("%f",&n);
     for(i=1;i<=n;i=i+2)
     {
       sum = sum + 1/i;
     }
     printf("Sum of series = %f",sum);
     getch();
   }          

find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program - Program Code

find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program output - Program Code

find out the sum of serise 1+1/3+1/5+1/7+.....+1/n using for loop c Program output - Program Code

Download Program source code
Download To click here...

3.
Write a program to find out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c program - Program Code

 /* Write a program to find out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1)   */
   #include<stdio.h>
   #include<conio.h>
   void main()
   {
     float i,n,sum=0,a;
     clrscr();
     printf("Enter N : ");
     scanf("%f",&n);
     for(i=1;i<=n;i++)
     {
       a = (i*2)-1;
       sum = sum + i/a;
     }
     printf("Sum of series = %f",sum);
     getch();
   }

Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program - Program code

Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program output - Program code

Wfind out the sum of serise 1+2/3+3/5+4/7+.....+n/((n*2)-1) using for loop c Program output - Program code

Download Program source code
Download To click here...