#include <bits/stdc++.h>

#define int long long

using namespace std;
//区间翻转同轴
int t ;
signed main() {
    //freopen("in","r",stdin);
    scanf("%lld",&t);
    while(t--)
    {
        int x , y , d ;
        cin >> x >> y >> d ;
        if(x > y) swap(x,y);
        y = y - x * (d+1);
        if(y>0)puts("NO");
        else puts("YES");
    }
    return 0;
}