#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define endl "\n"
#define pb push_back
#define pii pair<ll, ll>
#define vi vector<ll>
#define lead(x) __builtin_clz(x)
#define trail(x) __builtin_ctz(x)
#define bits(x) __builtin_popcount(x)
#define vpl vector<pii>
#define fore(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define fastio ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL)
#define IN(x, y) ((y).find((x)) != (y).end())
#define all(t) t.begin(), t.end()
#define isPowerOfTwo(x) ((x && !(x & (x - 1LL))))
const ll mod = 1e9 + 7;
void solve()
{
    int r, b, d;
    cin >> r >> b >> d;
    if (d == 0 && r != b)
    {
        cout << "NO" << endl;
        return;
    }
    d = d + 1;
    int div = ceil(double(max(r, b)) / d);
    if (div <= min(r, b))
    {
        cout << "YES" << endl;
    }
    else
    {
        cout << "NO" << endl;
    }
}
int main()
{
    fastio;
    int t = 1;
    cin >> t;
    for (int i = 1; i <= t; i++)
    {
        solve();
    }
    return 0;
}