write a menu driven class to accept a number and check whether it is a) palprime number b) armstrong number
Answers
Answered by
1
Answer:
__________________________________
Armstrong number is a number that is equal to the sum of cubes of its digits. For example 0, 1, 153, 370, 371 and 407 are the Armstrong numbers.
__________________________________
Answered by
3
refer to the attachment☺
Attachments:
Similar questions