Write a program to find the number of sum of all integer greater than 100 and less than 200 that are divisible by 7.
Here is the c source code/program for: Write a program to find the number of sum of all integer greater than 100 and less than 200 that are divisible by 7.
/* a program to find the sum of all integer greater than 100 and less than 200 that are divisble by 7
programmed by:
Name: Jitendra Kumar Yadav
Roll: 16
Date: 12 feb 2011 */
#include <stdio.h>
#include <conio.h>
void main()
{
int sum=0;
int i;
for(i=100; i<=200; i++)
{
if(i%7==0)
{
sum=sum+i;
}
}
printf(“The sum is %d”,sum);
getch();
}








