I have perused a lot of code on this topic, but most of them produce the numbers that are prime all the way up to the input number. However, I need code which only checks w
if(number%2!=0) cout<<"Number is prime:"<
The code is incredibly false. 33 divided by 2 is 16 with reminder of 1 but it's not a prime number...