Search:

Type: Posts; User: PinkFly

Search: Search took 0.23 seconds.

  1. Replies
    8
    Views
    532

    Re: Need Help on Looping Program!! Beginner!!

    import java.util.Scanner;
    public class PrimeFactors {

    public static void main(String []args) {

    Scanner input = new Scanner(System.in);


    int n;
  2. Replies
    8
    Views
    532

    Need Help on Looping Program!! Beginner!!

    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...
Results 1 to 2 of 2