#include <iostream>  
 
using namespace std;
 
void solve(int test_num) {
    
    long long r, b, d;
    cin >> r >> b >> d;
    long long small, kig;
    if(r<b){
        kig=b;
        small=r;
    }
    else{
        kig=r;
        small=b;
    }
    small=small*d+small;
    if(small<kig){
        cout << "no";
    }
    else{
        cout << "yes";
    }
    cout << '\n';
}
 
int main() {
    int t;
    cin >> t;
    for (int i = 1; i <= t; i++) solve(i);
}