Computer Science, asked by aryanburnwal8, 4 months ago

write a program to check whether a number is even prime or odd prime​


Anonymous: Kon sa programming languages
aryanburnwal8: java
pea4518977: Please marks as brainliest

Answers

Answered by Anonymous
1

Explanation:

hope it helpful for you...

Attachments:
Answered by pea4518977
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