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

int main()
{
	long long t;
	cin >> t;

	long long a,b,c;
	while(t--)
	{
		cin >> a >> b >> c;

		if(a>b) swap(a,b);

		double x = abs(ceil((double)b/(double)a) - 1);
		
		if(x>c) cout << "no" << endl;
		else cout << "yes" << endl;
	}
}
		