Fixed a comment

This commit is contained in:
2020-09-11 11:38:06 -04:00
parent bf97b78219
commit 4decff4133

View File

@@ -512,7 +512,7 @@ public class Algorithms{
//Return the list //Return the list
return divisors; return divisors;
} }
//This function returns all the divisors of goalSubscript //This function returns the goalSubscript'th Fibonacci number
public static int getFib(int goalSubscript){ public static int getFib(int goalSubscript){
//Setup the variables //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 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