Write a program to find the series
Attachments:
Answers
Answered by
0
Explanation:
for(int I=1;I<=19;I=I+2)
system.out.println(1/I);
Answered by
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
Computer Science,
2 months ago
Computer Science,
2 months ago
Math,
2 months ago
Geography,
4 months ago
Physics,
10 months ago
Biology,
10 months ago
Biology,
10 months ago