Sunny Day CodeChef Solution

We Are Discuss About CODECHEF SOLUTION

Sunny Day CodeChef Solution

Sunny Day CodeChef Solution

Answers will be Uploaded Shortly and it will be Notified on Telegram, SoĀ JOIN NOW
JoinScishowEngineerTelegram

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:

Input

Output

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.

Answers will be Uploaded Shortly and it will be Notified on Telegram, SoĀ JOIN NOW
JoinScishowEngineerTelegram

 

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

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *