[Coding] Monthly Budget solution codechef
Akshat has XX rupees to spend in the current month. His daily expenditure is YY rupees, i.e., he spends YY rupees each day.
Given that the current month has 3030 days, find out if Akshat has enough money to meet his daily expenditures for this month.
Input Format
 The first line will contain TT – the number of test cases. Then the test cases follow.
 The first and only line of each test case contains two integers XX, YY – the amount of money Akshat has for the current month and his daily expenditure respectively.
[Coding] Monthly Budget solution codechef
For each test case, output YES
if Akshat has enough money to meet his daily expenditure for 3030 days of the month, otherwise output NO
.
You may print each character of YES
and NO
in uppercase or lowercase (for example, yes
, yEs
, Yes
will be considered identical).
[Coding] Monthly Budget solution codechef
 1≤T≤1001≤T≤100
 1≤X,Y≤1051≤X,Y≤105
Sample Input 1
3
1000 10
250 50
1500 50
[Coding] Monthly Budget solution codechef
YES
NO
YES
[Coding] Monthly Budget solution codechef
Test Case 11: Akshat has 10001000 rupees and he wants to spend 30×10=30030×10=300 rupees in the entire month. Therefore, he has enough money for the entire month.
Test Case 22: Akshat has 250250 rupees and he wants to spend 30×50=150030×50=1500 rupees in the entire month. Therefore, he does not have enough money for the entire month.
Test Case 33: Akshat has 15001500 rupees and he wants to spend 30×50=150030×50=1500 rupees in the entire month. Therefore, he has enough money for the entire month.

ANSWER
“Click Here“