Please tell me a program for numbers that are neither prime nor armstrong .Please tell my practical is going on
Answers
Answered by
0
Declare function to find Prime number
Function declarations to check prime, armstrong and perfect numbers are same. ... Hence, it must accept a number, say isPrime(int num); . Finally, the function should return a value to the caller, so that the caller can know whether the integer passed to the function is prime or not.
Similar questions