Flowchart for prime number

Q. Draw the flowchart diagram for check a number is prime number or not.

Ans.

Flowchart for check a number is prime or not as following:

flowchart of check a number is prime number or not
Figure: Flowchart for check given number is
prime number or not

Related program:

  1. Search prime number
  2. Generate first n prime number
  3. Print prime number 1 to 100

Comments