    #include<iostream>
    #include<cmath>
    using namespace std;
    int main() {
        int t;
        cin>>t;
        while(t--) {
            int r,b,d;
            cin>>r>>b>>d;
            if(r<b) {
                r = ceil((float) b/r);
                b = 1;
            } else {
                r = ceil((float) r/b);
                b = 1;
            }
            if((r-b)<=d) {
                    cout<<"YES"<<endl;
                } else {
                    cout<<"NO"<<endl;
                }
        }
        return 0;
    }