R
Robbie Hatley
pitamber kumar said:plz send logic to write given program:
Write a program to find the number of and sum of all intergers
greater than 100 & less than 200 that are divisible by 7.
for (i = 101 ; i <= 199 ; ++i )
{
if (IsDivBy7(i))
{
++Count;
Sum += i;
}
}
That's the "logic". Now lets see your do *YOUR* part by
implimenting the function "IsDivBy7" and showing us
the code you've written.