+ 2
This Code tell How to know if the number is prime: (prime is boolean variable witch is true first) for(i=2;i<numb;i++){ if(numb%i=0){ prime=false; break; } } if(prime){ cout<<numb; \\cout is in c++ }
11th Dec 2017, 9:57 PM
Aymen GH
Aymen GH - avatar