#include<bits/stdc++.h>
typedef long long ll;
using namespace std;
typedef vector<ll>vi;
typedef pair<ll,ll>pi;
#define pb push_back
#define mp make_pair
#define all(v) v.begin(),v.end()
#define ff first
#define ss second
ll max(ll a,ll b){return (a>b?a:b);}
ll min(ll a,ll b){return (a<b?a:b);}
ll gcd(ll a,ll b)
{return (b?gcd(b,a%b):a);
}
void algo()
{
    ll r,b,d;
    cin>>r>>b>>d;
    ll mn=min(r,b);
    ll mx=max(r,b);
    if(mx/(d+1)>mn)
        cout<<"NO";
    else if(mx/(d+1)==mn && mx%(d+1)!=0)
        cout<<"NO";
    else
        cout<<"YES";
}
int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout<<setprecision(20);
    ll t;cin>>t;
    while(t--)
    {
        algo();
	cout<<"\n";
    }
    return 0;
}
