0
Even prime number?
that is still a great question in the world and my teacher didnt know another even prime number exact number 2, how you as programmer can found even prime number ? i saw some program on challange forum only do check is the number that input by user is prime or no.
4 Antworten
+ 5
Any even number larger than 2 will be divisible by 2 and therefore can not be a prime.
So even the best programmer here won't be able to find one. ;-)
+ 2
HonFu Respect for solving this with mind code first
+ 1
This question is right up my alley as I just programmed a prime number generator earlier that goes until my computer doesn't. A prime number can be found in code by using elements such as modulus(%) and for loops. Its actually the final boss of beginner code to graduate to intermediate data types
0
Evan Martine yup, its for intermediate level programmer or more, i didnt expect i make this program, i just want to know if there are program that can show even number expect 2 already exsist or no.