Computer Science, asked by Rainbowgain, 4 months ago

Write a program to find the series ​

Attachments:

Answers

Answered by Umang1602
0

Explanation:

for(int I=1;I<=19;I=I+2)

system.out.println(1/I);

Answered by Anisha5119
4

Answer:

import java.util.*;

class Program

{

public static void main ()

{

int I;

double s=0.0;

for(I=1;I<=19;I=I+2)

{

s=s+(double)1/I;

}

System.out.println("Sum of series="+s);

}

}

Similar questions
Math, 4 months ago