#include
main()
{
int i,sum=0;
for (i=1;i<=100;i++) if ( (i%5==0) && (i%2==0)) sum=sum+i;
printf("sum=%d\n",sum);
return 0;
}
#include
int r(int n, int c)
{
if(n>100)
{
printf("%d",c);
return c;
}
if(n%5==0 && n%2==0) c+=n;
r(n + 1, c);
}
int main()
{
int result=0;
r(0, result);
return 0;
}