And change your scanf to
Code:
  scanf( "%d %d", &a, &b );