https://github.com/dbc2201/sumofseriesrecursively
https://github.com/dbc2201/sumofseriesrecursively
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dbc2201/sumofseriesrecursively
- Owner: dbc2201
- Created: 2022-06-28T14:48:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T14:48:58.000Z (about 4 years ago)
- Last Synced: 2025-04-06T02:32:29.385Z (over 1 year ago)
- Language: Java
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
---