#include<iostream>
#include<queue>
#include<vector>
#include<map>
#include<cstdio>
#include<algorithm>
#include<string>
#include<sstream>
#include<list>
#include<cstring>
#include<stack>
#include<cmath>
#include <iomanip>
#define int long long
using namespace std;
const double esp = 1e-9;
const double pi = acos( -1 );
typedef long long ll;
const int inf = 0x3f3f3f3f;
//cout<<fixed<<setprecision(2);

char maze [1007][1007];
bool vis[1007][1007];//标记
int a[1000005];

signed main()
{
	int t;
	std::ios::sync_with_stdio(false);
	cin.tie(0),cout.tie(0);
	cin >> t;
	while(t--)
	{
		int r,b,d;
		cin>>r>>b>>d;
		if((d+1)*(min(r,b))>=max(r,b)) cout<<"YES"<<endl;
		else cout<<"NO"<<endl;
	}
	
}
