Write a program to find all prime factors of a given number. The program should print the factors of a number which are prime. One way of writing this is If the number is divisible by 2, repeatedly divide the number by 2 until it is no longer divisible by 2. Print 2 as a factor if number is divisible. In a loop for values of i from 3 to n in steps of 2, find if a number is divisible by i. If yes repeatedly divide by i as long as number is divisible. void printFactors(int num){ if(num%2==0){ System.out.println("2 "); while (num%2==0) num = num/2; } ...