Search:

Type: Posts; User: chachunga

Search: Search took 0.24 seconds.

  1. Replies
    6
    Views
    1,426

    Re: Prime Number Program for class

    yah haven't learned booleans yet but learned about breaks, and ill try to get the composite then. thanks for the help.
  2. Replies
    6
    Views
    1,426

    Re: Prime Number Program for class

    we haven't learned boolean flag. but ill try to do what you said.
  3. Replies
    6
    Views
    1,426

    Re: Prime Number Program for class

    how could i implement that into my code? should i put another if in there??
  4. Replies
    6
    Views
    1,426

    Prime Number Program for class

    idea here is to have user input an int n and find the prime numbers between 2 and n. then print out how many prime numbers there are for example.. 2-100 = 25 prime numbers. i cant figure out whats...
Results 1 to 4 of 4