Computer Science, asked by shurti141, 5 months ago

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 keyboardavro
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 bhumikabehera16
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