Hey i guuys, i researched for this topic and there were some close titles to this but none exactly helped me.
I need a write a boolean function named IsPrime that takes and integer as argument and returns true if it is. I have to demonstrate it in a full program. I know i have to use the % operator but im still kinda lost.
I was thinking using the % operator to see if there is a remainder, and if it does then return false.
Im really new to this language and my professor is going really quick. Please help