/* 3 program of prime number Note=> 1 is not prime number */
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int i,n,flag=0;
clrscr();
printf("Enter a number:");
scanf("%d",&n);
for(i=2;i<=sqrt(n);i++)
{
if(n%i==0)
flag=1;
}
if(flag==1)
printf("Not prime number ");
else
printf("Prime number ");
getch();
}
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int i,n,flag=0;
clrscr();
printf("Enter a number:");
scanf("%d",&n);
for(i=2;i<=sqrt(n);i++)
{
if(n%i==0)
flag=1;
}
if(flag==1)
printf("Not prime number ");
else
printf("Prime number ");
getch();
}
Online Casino UK – Review | Lucky Club
ReplyDeleteBest Casino UK 【33k1.com】⭐️ Are there any good bonuses for playing casino UK slots? You luckyclub.live can also try online casino UK.
The best casino sites and apps in India - JTHub
ReplyDeleteRead reviews, compare customer ratings, see 삼척 출장마사지 screenshots, 사천 출장안마 & learn more about The Best 양주 출장샵 Indian Casino Sites (2021) and get the 광명 출장샵 latest 속초 출장샵 news,