Java
dont use others answers please
follow the directions on the photo
Extracted text: 1. For a given integer n> 1, the smallest integer d > 1 that divides n is a prime factor. We can find the prime factorization of n if we find d and then replace n by the quotient of n divided by d, repeating this until n becomes 1. Write a java program that uses a stack to print the prime factors of a positive integer in descending order. For example, for n = 3960, your program should produce 11 * 5 * 3 * 3 * 2* 2 * 2
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here