Hello.
I hope you understand the two core terms in your problem "prime" and "factor".
If yes then what is your strategy to find the largest prime factor of a given number? In your code you are...