My issue
am not geting the corect logic
My code
#include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t--)
{
int x,y;
cin>>x>>y;
if(x>2*y)
{
cout<<"yes"<<endl;
}
else
{
cout<<"no"<<endl;
}
}
// your code goes here
return 0;
}
Problem Link: INVESTMENT Problem - CodeChef