#include
void main()
{
int i, sum = 0;
for (i = 100; i < 200; i++)
{
if (i % 5 == 0 && i % 7 == 0)
{
sum += i;
}
}
printf("\nsum = %d", sum);
}
#include
main()
{ int i,sum=0;
for (i=100;i<=200;i++)
if (i%5==0||i%7==0)
{ printf("%d ",i);
sum+=i;
}
printf("sum=%d\n");
}
sum=0
for i=100 to 200
if i%5=0 or i%7=0
sum=sum+i
?i
endif
endfor
?sum