[ Solution ] Chef gives Party CodeChef Solution | CodeChef Problem Solution 2022
Chef wants to give a burger party to all his friends i.e. he wants to buy one burger for each of his friends.
The cost of each burger is rupees while Chef has a total of rupees.
Solution Click Below:- CLICK HERE
Determine whether he has enough money to buy a burger for each of his friends or not.
Input Format
- The first line contains a single integer - the number of test cases. Then the test cases follow.
- The first and only line of each test case contains the three integers , , and - the number of Chef's friends, the cost of each burger, and the total money Chef has, respectively.
Output Format
For each test case, output YES if the Chef can give a party to all his friends. 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).
Constraints
Join Now for Solution:-
No comments:
Post a Comment