#include<iostream>
#include<stdio.h>
#include<string>
#include<vector>
#include<algorithm>
#include<math.h>
#include<cstdlib>
using namespace std;

//define
typedef long long ll;
typedef vector<int> vi;
#define B begin
#define E end
#define PB push_back
#define ifor(i, a, n) for(int i = a; i <= n; i++)
#define printarr(arr) for(int i = 0; i < sizeof(arr)/sizeof(arr[0]); i++)cout<<arr[i]<<" ";
#define printvec(arr) for(int i = 0; i < arr.size(); i++)cout<<arr[i]<<" ";
#define fast_io ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);


//functions


//main
int main(){
	fast_io;
	int t;
	cin>>t;
	while(t--){
		ll r, b, d;
		cin>>r>>b>>d;
		double mini = min(r, b), maxi = max(r,b);
		if(ceil(maxi / mini)-1 > d)cout<<"NO\n";
		else cout<<"Yes\n";
	}
	
	return 0;

}
