Answers for "how to find prime and composite numbers in java on an array"

-1

how to find prime and composite numbers in java on an array

Enter size of the array: 5

Enter a number: 3

Enter a number: 2

Enter a number: 6

Enter a number: 7

Enter a number: 9

There are 3 prime numbers.

There are 2 composite numbers.
Posted by: Guest on September-07-2021

Code answers related to "how to find prime and composite numbers in java on an array"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language