The sum of all prime numbers between 10 and 16 is 41.
The sum is 75.
The first ten positive numbers total 55.
10 + 0 =10 ?
to print the sum of first ten numbers:- void main() {int i,sum; sum=0; while(i<=10) sum=sum+i; i=i+1; } printf("The sum is : %d",sum); }
Write three numbers whose sum is 10 in all horizontal vertical and diagonal?
Any pair of consecutive numbers will have an odd total. 10 and 12 are consecutive even numbers that total 22.
What is the sum of the composite numbers less than 10?4 + 6 + 8 + 9 = 27
55
int sum = 0; for(int i = 10; i <= 40; i += 2) { sum += i; } printf("Sum of all even numbers between 10 and 40(inclusive) is %d\n", sum);
double numbers[10] = { ... }; double sum = 0., mean; int i; for (i=0; i<10; i++) sum += numbers[i]; mean = sum / 10.;
The sum of the first 10 even numbers is 110.