Module: (Java) For loop statement. Typical tasks


Problem

3 /16


Sum of Sequence Numbers - Task 2

Problem

Now try to write a program yourself that finds the sum of integers from a to b. Where a and b are entered from the keyboard (numbers are input on the same line).