Odd sum uva 10783 - my solution with debugging statements

#include <iostream>
//#include <windows.h>
#include <stdio.h>
using namespace std ;


int main(){
   
    int T ;
   
    cin >> T ;
    int a ;
    int b ;
    int test_case = 1;
   
    for(int i = 0 ; i < T ; i++){
           
            cin >> a ;
            cin >> b ;
            int sum = 0;
//            cout << "sum  " <<sum <<endl ;
            for(int j = a ; j <= b ;j++ ) {
                    if( j % 2 != 0){//cout << "this aded: " << j <<endl ;
                    sum = sum + j ;}
            }
                                       
            printf("Case %d: %d\n", test_case,sum ) ;
            test_case++ ;                                  
  //          Sleep(20000) ;
            }
   
    return 0 ;  
    }