That depends on the value assigned to the variable "k". If you don't know the value of "k", you express the sum as 11 + k; in this case, you can't simplify it any more.
write an algo to find the sum of even number from 1to n
7*100 = 700 14*10 = 140 11*1 = 11 Sum = 851
The sum of 11 and 7 is 18.
k12
That depends on the value assigned to the variable "k". If you don't know the value of "k", you express the sum as 11 + k; in this case, you can't simplify it any more.
k + 7
17
K-11
You remember that 'sum' means addition so that's b+11
it would have a part in it like this: for (i=0; i<n; ++i) { . for (j=0; j<l; ++j) { . . sum= 0; . . for (k=0; k<m; ++k) { . . . sum += a[i][k] * b[k][j]; . . } . . c[i][j] = sum; . } }
Write a pair of number which have a sum of 11 and a product of 24?
2 + 9 = 11
(100)/(k+m)
int main() { int i,j,sum,k; for(i=1;i<=5;i++) { k=1; sum =0; for(j=1;j<=i;j++) { sum = sum+(i*k); k=k*10; } cout<< sum; cout<< "\n"; } }
Because the "sum" of two or more numbers means the answer when the numbers are added together, your answer is simply: 11+k Unless k was assigned a value in the problem, this is your final answer. Because 11 and k aren't like terms (they don't have the same variable attached), you cannot add them together.
write an algo to find the sum of even number from 1to n