Skip to content

Commit 670a0d9

Browse files
committed
Some documentation for testing
1 parent 92a6ea7 commit 670a0d9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎dump/UsefulMethods.java‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ public static boolean isDecimal(int x) {
1212
}
1313

1414
/**
15-
* @param n
16-
* @return Returns every odd integer sum from n to 1.
15+
* Sums every odd integer starting from n to 1. Accepts only odd integer. Loops until user does so.
16+
*
17+
* @param n the integer where sum starts
18+
* @return returns odd integers sum.
1719
*/
1820

1921
public static int oddSum(int n) {

0 commit comments

Comments
 (0)