Finding the Largest Prime Factor of a Number with Java

Prime factors are the basic pieces that numbers break down into. Any whole number greater than one can be written as a product of primes…