*Hello friends, in this post today, we will learn that check whether entered number is prime or not in C programming language.*

*Before starting the program, we need to know what are prime numbers.*

*Let's start to know that what are prime numbers.*

#
**Prime Numbers:-**

A prime number is a type of numbers, it is a number which divides only by 1 and itself is called prime number.**Prime Numbers:-**

For example: 1, 3, 5, 7, 13, 19.......

*Friends, we have learned that what is prime numbers from the definition given above, and now we will learn how we can check whether number is prime number or not from below program using decision making statement and loops.*

*Let's know, how we can check whether number is prime in C programming.*

## 3 Comments

Good job

ReplyDeletethank you good post

ReplyDeleteThanks, please support our blog

Delete