C++ Program to check whether a number is prime or not
/* C++ program to check whether a number is prime or not. */ #include <iostream>using namespace std; int main(){ int n, i, flag=0;……
/* C++ program to check whether a number is prime or not. */ #include <iostream>using namespace std; int main(){ int n, i, flag=0;……