PS1 Help. I am breaking the problem down into smaller steps. I wrote this code http://codepad.org/9moWoTPF to determine is a number is prime or not. It works but when the answer is not prime it continuously prints not prime.

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

PS. Is there a better, cleaner looking way to code this? Without putting int( ) so often?

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.