plz answer it fast!!!!!!!!
its veryyyy urgent!!!!
please solve this java program
Attachments:
Answers
Answered by
0
hope this helped you mark me as the brainliest
Attachments:
Answered by
2
Explanation:
class Series
{
public static void main(String args[])
{
double s=0;
System.out.print("S=");
for(int i=1;i<=14;i++)
{
System.out.print("1/"+(i+1)+"+");
s=s+1.0/(i+1);
}
System.out.print("\b");
System.out.print("="+s);
}
}
Similar questions