#include <iostream>
#include <algorithm>
using namespace std;
int main() {
	int t; cin >> t;
	for (int i = 0; i < t; i++) {
		int64_t r, b, d;
		cin >> r >> b >> d;
		int64_t a = max(r, b);
		int64_t c = min(r, b);
		if ((a - c) <= c*d) cout << "YES"<< '\n';
		else cout << "NO"<< '\n';
	}
	return 0;
}