Thanks for the replies!
My point with ''if it's divisible by 2'' is to already discard that number and go check the next one.
But I'll take a deep look at all your hints and try to figure it...
Type: Posts; User: TheMoogletPiper
Thanks for the replies!
My point with ''if it's divisible by 2'' is to already discard that number and go check the next one.
But I'll take a deep look at all your hints and try to figure it...
Well, a number that only when divided by itself (and 1) gives you 0 residue.
Basically what I'm trying to do is, in the first while, check that the number doesn't give you 0 residue starting by 2...
Thanks for the reply! I'll paste the code next time, I didn't even realize about that ^^'
The only problem I have with your code is that I should be making it in only one function. I even thought...
Hi all!
New member here. Recently started programming in C, and it's my first time programming. I've been trying to solve this exercise for days and I can't manage to make it work, so here I...