adambennett / BlueJ.SumOfInput

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Java 100.0%