Define a recursive function int sum_range(int low, int high) that computes the sum low+(low+1)+(low+2)+⋯+high using recursion. You can assume low≤high.
int sum_range( int low, int high )
{
if( low > high ) return 0 ; // empty range, return 0
elseif( low == high ) return low ; // reached end of range
elsereturn low + sum_range( low+1, high ) ;
}