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

const ll mod = 1e9 + 7;

int solve()
{
	ll r,b,d;
	cin>>r>>b>>d;
	
	ll mn = min(r,b);
	ll mx = max(r,b);
	
	ll safe = mn*(d+1);
	
	if(mx <= safe)
	{
	    cout<<"YES\n";
	}
	else
	{
	    cout<<"NO\n";
	}
	
    return 0;
}

int main()
{
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    
	int t = 1;
	cin>>t;
	while(t--)
	{
	    solve();
	}
}