Write pseudocode to determine if a number is prime.
- Take a number as input.
- Check if the number is divisible by any number other than 1 and itself.
- If the number is divisible by any number other than 1 and itself, output "Not Prime".
- If the number is prime, output "Prime".
-
Input: 7
-
Output: Prime
-
Input: 10
-
Output: Not Prime