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

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    ll int t,r,b,d,rr,rb;
    cin>>t;
    while(t--)
    {
        cin>>r>>b>>d;
        if(r<b)
        {
            d=d+1;
            rb=d*r;
            if(rb>=b)
            {
                cout<<"YES";
            }
            else
            {
                cout<<"NO";
            }
        }
        else
        {
            d=d+1;
            rr=d*b;
            if(rr>=r)
            {
                cout<<"YES";
            }
            else
            {
                cout<<"NO";
            }
        }
        cout<<endl;
    }
	return 0;
}
