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

int main()
{
    int t;
    cin>>t;
    while(t--){
        long long int r,b,d;
         cin>>r>>b>>d;
         long long int m1=min(r,b);
         long long int m2=max(r,b);
        //long int req=m1*(d+1);
      if(m2>m1*(d+1))
        cout<<"NO"<<endl;
      else cout<<"YES"<<endl;
    }
    return 0;
}
