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

https://github.com/dbc2201/sumofseriesrecursively


https://github.com/dbc2201/sumofseriesrecursively

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Sum Of Series (Recursive)

## Java Programming Course

---

**Course 1**: Problem-Solving and Computational Thinking using Java

**Sprint 7**: Implementing Recursion

---

Problem Statement
---

Write a recursive method that takes an integer `n` and returns the sum of the first `n` natural numbers.

---

Task
---

1. Open the [source code file](src/main/java/io/github/dbc/SumCalculator.java) and complete the code.
2. Open the [test case file](src/test/java/io/github/dbc/SumCalculatorTest.java) and run the test cases to
check your code.

---

Fun Resource
---