// WHATEVER YOU ARE BE A GOOD ONE !

#include<bits/stdc++.h>
#include<string.h>

#define lli long long int
#define mod 1000000007
#define pb push_back
#define fi first
#define se second
#define all(v) v.begin(),v.end()
#define lb lower_bound
#define ub upper_bound
#define mem(a,val) memset(a,val,sizeof(a))
#define inf 1000000000000000001;

using namespace std;

int main()
{
	ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
	#ifndef ONLINE_JUDGE
  freopen("input.txt","r",stdin);
  freopen("output.txt","w",stdout);
  #endif

	lli t;
	t=1;
	cin>>t;
	while(t--)
	{
		lli r,b,d;
		cin>>r>>b>>d;
		lli rr=min(r,b),bb=max(r,b);
		if( bb<=(rr*(d+1)) )
			cout<<"YES\n";
		else
		cout<<"NO\n";
  }
  return 0;
}
