Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 14 Online
OpenStudy (anonymous):

I think the logic is to divide the number by 2 and then by 3 , if the answer is integer, composite otherwise if its float prime. (Seperate conditions for 2 and three should be included). I am not sure though.

OpenStudy (anonymous):

Did you mean to post this as a reply to some other thread?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!