int sum2(int m, int n){
  int s=0, i=m;
  if(m > n){
    return 0;
  }else{
    while(i <= n){
      s = s + i;
      i++;
   }
    return s;
  }
}
