#include
#include
main ()
{
int cuenta,i,x,y,j,suma;
cuenta=0;
clrscr();
for (i=2;cuenta<4;i++)
{
suma=0;
x=i%2;
if (x==0)
x=(i/2);
else
x=(i+1)/2;
for (j=1;j<=x;j++)
if (i%j==0)
suma=suma+j;
if (suma==i)
{
printf("%d\n",i);
cuenta=cuenta+1;
}
}
getch();
}
One of the most astonishing old town on the planet Old City of Jerusalem
-
Jerusalem is perhaps the most established city on the planet . By measuring
its history and its multifaceted nature, on the off chance that we think
about ...
Hace 5 años
0 comentarios:
Publicar un comentario