We Are Discuss About CODECHEF SOLUTION
Sunny Day CodeChef Solution
Sunny Day CodeChef Solution
Problem
Chef is planning a family picnic. He will go to the picnic only if the temperature on that day isĀ strictly greaterĀ thanĀ 24Ā degrees.
Given that the temperature on a day is � degrees, find whether he will go to the picnic on that day.
Input Format
- The first line of input will contain a single integerĀ ļæ½, denoting the number of test cases.
- Each test case consists of a single integer � – the temperature on a given day.
Output Format
For each test case, output on a new line,Ā YES
, if Chef will go to the picnic, andĀ NO
Ā otherwise.
You may print each character in uppercase or lowercase. For example,Ā NO, no, No,
Ā andĀ nO,
Ā are all considered the same.
Constraints
- 1ā¤ļæ½ā¤100
- 1ā¤ļæ½ā¤100
Sample 1:
4 12 24 25 60
NO NO YES YES
Explanation:
Test caseĀ 1:Ā The temperature on the day isĀ 12Ā which isĀ notĀ >24. Thus, Chef will not go to the picnic.
Test caseĀ 2:Ā The temperature on the day isĀ 24Ā which isĀ notĀ >24. Thus, Chef will not go to the picnic.
Test caseĀ 3:Ā The temperature on the day isĀ 25Ā which isĀ >24. Thus, Chef will go to the picnic.
Test caseĀ 4:Ā The temperature on the day isĀ 60Ā which isĀ >24. Thus, Chef will go to the picnic.
SOLUTION
Here Discuss About Solve Sunny Day CodeChef Solution
SOLUTION
Sunny Day CodeChef Solution
SOLUTION
Yhaa You have done it but next? if YOU Want to Get Others Please Visit HereĀ ScishowEngineerĀ Ā ThenĀ Follow US HEREĀ andĀ Join Telegram.
If You Want To Learn Something New Then Visit OurĀ Official Channel YOUTUBE