Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 430 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 430 Bytes

ZCW-MicroLabs-JavaFundamentals-SumOfInput

Sum of the Numbers

Overview

  • The program should respond by returning the sum of numbers 1 to n. (That is, if a user inputs 2, the method should return 3. 1 + 2.) *Modify oneToNumber() to satisfy the given unit tests.
  • Constraint: No Guassian wizardry !

Unit Test

Provided in SumOfInputTest.java