An open API service indexing awesome lists of open source software.

https://github.com/dbc2201/sumofseries2


https://github.com/dbc2201/sumofseries2

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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](src/main/java/io/github/dbc/SeriesSumFinder.java) and complete the code.
2. Open the [test case file](src/test/java/io/github/dbc/SeriesSumFinderTest.java) and run the test cases to
check your code.

---