Computer Science, asked by srikanthkandala, 2 days ago

11
12
13
Given three integers, /, j, and k, a sequence
sum to be the value of 1 + (1 + 1) + (1 + 2) + (i
+ 3) + ... +/+(-1) + (-2) + (-3) + ... +k
(increment from íuntil it equals), then
decrement from juntil it equals k). Given
values /), and k, calculate the sequence
sum as described.
14
15
16
17
Example
1 = 5
y = 9
k= 6​

Answers

Answered by binulimbu86
0

Answer:

Sorry I don't understand your question

Similar questions