• admin@embedclogic.com

Program to check prime number

Program to find prime number

Prerequisite:

  • Familiar with if-else statement
  • Familiar with for loop
  • Familiar with C-Operator

Prime Number: A natural Number is a prime number if it is only divided by 1 and itself.

For example – 1,2,3,5,7,11,13,17…etc.