#include<stdio.h>
#include<conio.h>
void main()
{
int
i, sum=0;
printf("\n
Numbers between 100 to 200 which is divisible by 5");
for(i=101;i<200;i++)
{
if(i%5==0)
{
printf("\n
%d",i);
sum= sum + i;
}
}
printf("\n
sum = %d",sum);
getch();
}
OUTPUT:
Numbers between 100 to 200 which is divisible by 5 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 sum = 2850
there is not out put
ReplyDeletethere is not output
ReplyDeleteoutput is -not here
ReplyDeleteGOOD PROGRAM
ReplyDeleteremove this
ReplyDeleteclrscr();
you will get out put
thanks man!
Deletechandigar university ;) lol
ReplyDeleteHahhaahha
DeleteNice program
ReplyDeleteha ha
ReplyDeletethanks for that
ReplyDelete