#include<iostream>
using namespace std;


int main()
{
 int start, end, sum=0;

 // Get start and end numbers:
 cout << "Give start number: ";
 cin >> start;
 cout << "Give end number: ";
 cin >> end;

 // sum numbers from start to end
 for(int i=start; i<=end; i++)
   sum += i;

 // report sum
 cout << "Sum: " << sum << endl;


 return 0;
}