#include<iostream>   #include<cmath>   using namespace std;      long long l,r,d;      int main()   {    int t;    cin >> t;    while(t--)    {     scanf( %lld %lld %lld ,&l,&r,&d);     if(min(l,r) * d >= max(l,r) - min(l,r)) cout <<  YES  << endl;     else cout <<  NO  << endl;    }    return 0;    }    