#include<iostream.h>
#include<conio.h>
#include<process.h>
void main()
{
int i,n;
clrscr();
cout<<"Enter an integer number\t";
cin>>n;
for(i=2;i<=n/2;i++)
if(n%i==0)
{
cout<<n<<"is not a prime number";
getch();
exit(0);
}
cout<<n<<" is a prime number\t";
getch();return;
}
HEY DUDE HERE IS A SIMPLE PROGRAM TO FIND PRIME NUMBERS