#include<iostream>intmain(){
using namespace std;int nu[2];for(int i=0;i<2;i++){
cout<<"Please you enter an integer\n";
cin>>nu[i];}int total=nu[0];for(int j=nu[0];j<nu[1];j++){
total+=j+1;}
cout<<"The total range in "<<nu[0]<<" to "<<nu[1]<<" is : "<<total;}