Search:

Type: Posts; User: CommonTater

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    9,502

    1) Lose the goto crap. Use a do while loop...

    1) Lose the goto crap. Use a do while loop instead... this isn't BASIC.
    2) There is no reason to check every value when doing this function...
    ..... a) We already know 1 and 2 are prime numbers....
  2. Replies
    6
    Views
    9,502

    KmsReady... Please learn how to use code tags. ...

    KmsReady... Please learn how to use code tags.

    http://cboard.cprogramming.com/c-programming/25765-posting-code-read-first.html
  3. Replies
    6
    Views
    9,502

    What is the value of c the second time it enters...

    What is the value of c the second time it enters the do... while loop?
Results 1 to 3 of 3