Quote:
My program seems to be nearly right... But still doesn't give me all of the first 100 primes (although it does seem to list only primes, haven't checked all though).
Any ideas why this isn't working...
by the way, my trash has 76 copies of a.out and they're all attempts at this silly program...
so any help would be greatly appreciated.
I like your logic statements, but I dislike the way they're joined together. :) It's sort of like a magician. He's NOT actually doing magic, but it seems like he might be (or is), because of the artful way he misdirects your eye, so you can't see what he's really doing, even though he's right in front of you.