Computer Science, asked by reptile9suresh, 16 days ago

Create a class with the following Member Functions:

(i) Method called isPrime() which accepts an integer as a parameter and return true if it is a

prime number otherwise return false.

(ii) Method called sumOfPrimeDigits() which accepts an integer as a parameter and return the

sum ofprime digits only.

(iii) Method called check() which accepts 10 integers and checks whether the sum of the prime​

Answers

Answered by uday3537v
0

Answer:

don't know but u can found it on Wikipedia

Similar questions