#include<iostream>
using namespace std;
int main(){
	int t;
	cin>>t;
	for(int o=1;o<=t;o++){
		int r,b,d;
		cin>>r>>b>>d;
		if(r<b){
			int temp=r;
			r=b;
			b=temp;
		}
		r-=b;
		int reald;
		if(r%b==0) reald=r/b;
		else reald=r/b+1;
		if(reald<=d) cout<<"YES"<<endl;
		else cout<<"NO"<<endl; 
	}
}