
#include<bits/stdc++.h>
using namespace std;
#define int long long
int32_t main()
{
    int t;
    cin>>t;
    while(t-- >0)
    {
        int r,b,d;
        cin>>r>>b>>d;
        if(r<=b)
        {
            if(b <= (d+1)*r)
                cout<<"YES"<<endl;
            else
                cout<<"NO"<<endl;

        }
        else if(r>b)
        {
            if(r <= (d+1)*b)
                cout<<"YES"<<endl;
            else
                cout<<"NO"<<endl;

        }
    }
    return 0;
}