Please enable JavaScript.
Coggle requires JavaScript to display documents.
072775364_AB2 (Definition (Number cannot be another number squared, Number…
072775364_AB2
-
-
Design
Take numbers as input, state whether number is a prime number or not.
-
Divide input from numbers 2-10. If output is whole number, state that number is not prime
Divide input from numbers 2-10. If output has decimal, state that the number is prime
Check whether number is negative or not, if it is, state that number is not prime
Check if number is the same as another number squared, if it is, then state that the number is not squared.
States all factors of the input, whether the input is a prime number or not.