import java.util.Scanner;
public class PrimeFactors {
public static void main(String []args) {
Scanner input = new Scanner(System.in);
int n;
Type: Posts; User: PinkFly
import java.util.Scanner;
public class PrimeFactors {
public static void main(String []args) {
Scanner input = new Scanner(System.in);
int n;
I'm having trouble on a program where I am supposed prompt the user for a positive integer and then displays those integers.
My teacher told me to use this:
Initialize a counter to 2
while the...