#include<stdio.h>
struct amicable
{
int **amicablepair;
int size;
};
struct amicable *getAmicablePairs(int startnum, int endnum);
int sumdivisors(int num);
int main()
{
int startnum = 10,i;
int endnum = 2000;
struct amicable *ami;
ami = getAmicablePairs(startnum, endnum);
if(ami!=NULL)
{
printf("\n They are:");
printf("{");
for(i = 0; i<ami->size; i++)
{
printf("{%d, %d}",ami->amicablepair[i][0], ami->amicablepair[i][1]);
}
printf("}");
}
else
printf("Not Found:");
return 0;