Define a class Amicable with the following description
Data member
int n1,n2 - to input values by user
Member function
void get( ) - to store the values in n1 and n2
void check( ) - to whether the entered numbers are amicable or not
Amicable numbers are two different numbers so related that the sum of the
proper divisors of each is equal to the other number.
Input the first number: 220
Input the second number: 284
Create a main( ) function and invoke all the function with the help of an object
of the class.
Answers
Answered by
1
Answer:
I don't know iam sorry sorry ☹️☹️
Similar questions