1+0+3 is the digit sum of 103
What is the sum of 0 + 6
int i, sum = 0; for (i=0; i<20; i+=2) sum+=i;
The sum of 3 plus 4 is 7.
-6
1+0+3 is the digit sum of 103
0
What is the sum of 0 + 6
0
56
if (n%2==0) sum=n/2*(n+1); else sum=(n+1)/2*n;
The sum of 3 plus 4 is 7.
int i, sum = 0; for (i=0; i<20; i+=2) sum+=i;
simply 9
-6
It is: 0+14 = 14
0