A number is a factor of another number if it evenly divides that number. For example, 3 is a factor of 12 because 12 % 3 is 0.
Finish the method below to return the smallest factor of n that is larger than k.
(Hint: do not print anything. Find the smallest factor using a loop, and then return it. You may assume that k < n.) public static int smallestFactor(int n, int k)