Skip to content

dbc2201/SumOfSeries2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sum of Series 2 : Convergent Series

Java Programming Course


Course 1: Problem-Solving and Computational Thinking in Java

Sprint 5: Working with Looping Constructs


Problem Statement

Calculate the sum of the following series

$$sum=1+1/2+1/4+1/8+...+1/n$$

Where n is a number input by the user.


Task

  1. Open the source code file and complete the code.
  2. Open the test case file and run the test cases to check your code.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages