DEV Community

Sasireka
Sasireka

Posted on

Divisor and Prime Number

1)Divisor of the number

  • A divisor of a number is any integer that divides the number exactly without leaving a remainder.

  • Flowchart

  • Python

  • Javascript

  • Java

2)Count of the Divisor

  • Flowchart

  • Python

  • Javascript

  • Java

3)Prime Number

  • A prime number is a number greater than 1 that has exactly two divisors: 1 and itself.

  • If a number has more than two divisors, it is not prime (composite).

  • Flowchart

  • Python

  • Javascript

  • Java

Top comments (0)