write a program to check whether a number is even prime or odd prime
Anonymous:
Kon sa programming languages
Answers
Answered by
1
Explanation:
hope it helpful for you...
Attachments:
Answered by
0
Answer:
If any number smaller than the given number divides it then it is not Prime number. Otherwise, it is a prime number. Let's take an example of two numbers and check whether they are prime or not using this process. Logic − We will divide 42 by every number greater than 1 and smaller than 42.
Explanation:
Similar questions