17. Write a program to find the number of and sum of all integers greater than 500 and less than 1000 that are divisible by 17
with output I want then only I will mark brainlist
Answers
Answered by
5
#include <stdio.h>
void main()
int i, sum=0; printf("Numbers between 100 and 200, divisible by 9 : \n");
for(i=101;i<200;i++)
if(i%9==0)
printf("% 5d",i);
sum+=i;
printf("\n\nThe sum : %d \n",sum);
Output:
Numbers between 100 and 200, divisible by 9 : 108 117 126 135 144 153 162 171 180 189 198
The sum : 1683
I hope it will helpful to you give thanks to my answer nd follow me Pliss and pliss pliss inbox me if u can
Similar questions
Social Sciences,
2 months ago
Physics,
2 months ago
Political Science,
2 months ago
Physics,
4 months ago
Math,
4 months ago
Physics,
9 months ago
English,
9 months ago