Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
C Program to find the number and sum of all integers from 100 to 200 which is divisible by 7.
* You can use all the programs on
* for personal and learning purposes. For permissions to use the
* programs for commercial purposes,
* contact
* To find more C programs, do visit
* and browse!
* Happy Coding
int main()
int i,a[20],sum=0,b[20],counter=0,num=100;
printf("The numbers between 100 and 200 which are divisible by 7 are:\n");
printf(" %d",i);
printf("\nThe sum of numbers divisible by seven is %d", sum);
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment