Course 1: Problem-Solving and Computational Thinking in Java
Sprint 5: Working with Looping Constructs
Calculate the sum of the following series
Where n
is a number input by the user.
- Open the source code file and complete the code.
- Open the test case file and run the test cases to check your code.