//
//  main.cpp
//  google-code-jam-2020
//
//  Created by Ali Naderi Parizi on 2/10/1400 AP.
//

#include <iostream>
#include <math.h>

int main(int argc, const char * argv[])
{
    int t;
    std::cin >> t;
    for (int i = 0 ; i < t ; i++)
    {
        double r,b,d;
        std::cin >> r >> b >> d;
        double x = std::min(r, b) * d;

        if(std::abs(r - b) <= x)
        {
            std::cout << "YES" << std::endl;
        }
        else
        {
            std::cout << "NO" << std::endl;
        }
    }
    return 0;
}
