Back to Browse

Write a PHP program to check prime number

4.1K views
Dec 17, 2022
5:54

A prime number is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways of writing it as a product, 1 × 5 or 5 × 1, involve 5 itself.

Download

1 formats

Video Formats

360pmp410.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Write a PHP program to check prime number | NatokHD