Computer Science, asked by grovervanshdeep, 8 months ago

Please tell me a program for numbers that are neither prime nor armstrong .Please tell my practical is going on

Answers

Answered by newideaswithdreamers
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