answersLogoWhite

0

1. If number < 2 then not prime - end

2. If number == 2 then prime - end

3. If number divisible by 2 then not prime - end

4. If number divisible by 3 then not prime - end

5. If number divisible by 5 then not prime

6. end (It is not necessary to get any more complicated than this because you only need to check divisibility up to the square root of the number in question, and you only asked about numbers up to 20.)

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao

Add your answer:

Earn +20 pts
Q: Draw a flow chart of prime number check between 1 to 20?
Write your answer...
Submit
Still have questions?
magnify glass
imp