4. Write a C function that calculates the sum of integers between 9 and 300 inclusive
which are divisible by 7 but not divisible by 63
Answers
Answered by
0
Answer:
Explanation:
Int sum = 0;
For(int i=9; i<=300 ;i++)
{
If( i % 7 == 0 & & i % 63 ! = 0)
{Sum = sum + i;}
}
Printf( " sum of integers between 9 and 300 that are divisible by 7 but not by 63 is %d ", sum) ;
Answered by
9
Answer:
c function that's calculated the sum of integers between 9 and 300 inclusive and it is divisible by 7 but it also divisible by 63
Similar questions
Math,
2 months ago
Math,
2 months ago
Computer Science,
2 months ago
Social Sciences,
5 months ago
Chemistry,
5 months ago
Science,
10 months ago
Math,
10 months ago