The sum of the numbers in the sequence - Task 1
Problem
Try changing the program from the previous example so that it finds the sum of numbers from -10
to b
, where the value b
is entered from the keyboard. < br />
On the 5th line of the code, read the input value, and on the 7th line, instead of gaps (__
), insert the start and end values of the variable i
.