Search:

Type: Posts; User: gonfreecks

Search: Search took 0.11 seconds.

  1. Thread: help factor

    by gonfreecks
    Replies
    13
    Views
    1,798

    Re: help factor

    and the posts of penguin is so advanced we havent even tackled some yet... but thanks for the effort though


    and the 1st code you posted was an infinite loop :)
  2. Thread: help factor

    by gonfreecks
    Replies
    13
    Views
    1,798

    Re: help factor

    oh yeah my bad it runs 2 2 2 3 5 but if i run 150 it only runs 2 3 5 while it needs to output 2 3 5 5..

    thanks for the help
  3. Thread: help factor

    by gonfreecks
    Replies
    13
    Views
    1,798

    help factor

    public class Factor {

    public static void main(String[] args){
    Scanner input=new Scanner (System.in);

    String yn;
    int number;
    int current;
    String output = "";
    ...
Results 1 to 3 of 3