#include "stdio.h"
#include
int main()
{
int i,j,s,n=0,m;
int a[10];
for(i=2;i<=100;i++)
{
s = 0;
n = 0;
memset(a, 0, sizeof(a)); //清零
for (j=1;j {
if (i%j==0)
{
a[n]=j ;
n++ ;
s=s+j;
}
}
if ( {
printf("%d its factors are : ",s);
for (m=0;m<10;m++)
{
if(a[m] <= 0) break;
printf("%d ",a[m]);
}
printf("\n");
}
}
return 0;
}