#include <bits/stdc++.h>
using namespace std;

void mainSolve()
{
  int x, y, d;
  cin >> x >> y >> d;
  int diff = (x > y) ? (x - y) : (y - x);
  if (diff > d)
    cout << "NO" << endl;
  else
    cout << "YES" << endl;
}

int main()
{
  int t;
  cin >> t;
  while (t--)
  {
    mainSolve();
  }
  return 0;
}