mirror of
https://bitbucket.org/Mattrixwv/javaclasses.git
synced 2025-12-06 23:13:57 -05:00
Fixed a comment
This commit is contained in:
@@ -512,7 +512,7 @@ public class Algorithms{
|
||||
//Return the list
|
||||
return divisors;
|
||||
}
|
||||
//This function returns all the divisors of goalSubscript
|
||||
//This function returns the goalSubscript'th Fibonacci number
|
||||
public static int getFib(int goalSubscript){
|
||||
//Setup the variables
|
||||
int[] fibNums = {1, 1, 0}; //A list to keep track of the Fibonacci numbers. It need only be 3 long because we only need the one we are working on and the last 2
|
||||
|
||||
Reference in New Issue
Block a user