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


typedef unsigned long long ll;
ll t,i,j,n,k,x,y,a,b;
string s,s1,s2;
float f;
const ll M=1e9+7;


ll mod(ll x)
{
    return((x%M+M)%M);
}
ll add(ll a,ll b)
{
    return mod(mod(a)+mod(b));
}
ll mul(ll a,ll b)
{
    return mod(mod(a)*mod(b));
}

  
int main()
{
   cin>>t;
   while(t--)
   {
        ll r,b,d,temp;
        cin>>r>>b>>d;
        if(b<r)
        {
            temp=r;
            r=b;
            b=temp;

        }
        //cout<<b<<" "<<r<<"\n";
        if(b>(d+1)*r)
        cout<<"NO\n";
        else
        cout<<"YES\n";

   }

   return 0;
}