c++ program to find the prime number 2022-09-28 #include using namespace std; int main () { int number , count =0; cout<<"enter a number : "<>number; for ( int i=1;i<=number ; i++ ) { if ( number % i == 0 ) { count++; } } if ( count == 2 ) { cout<<"the number : "< Twitter WhatsApp Telegram Facebook