3 like 0 dislike

Write a program that reads the temperature (in Fahrenheit degrees) and displays the corresponding description, as follows:

  1. <=32: Intense cold
  2. (32-59]: Cold
  3. (59-77]: Warm
  4. (77-95]: Heat
  5. >95: Intense heat

Sample Input 1:

31

Sample Output 1:

Intense cold

Sample Input 2:

59

Sample Output 2:

Cold

 

References: C From Theory

[Normal] Coding (C) - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21823 - Available when: Unlimited - Due to: Unlimited
| 45 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:3.235.179.79
©2016-2021

Related questions

3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21926 - Available when: Unlimited - Due to: Unlimited
| 78 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21923 - Available when: Unlimited - Due to: Unlimited
| 73 views
2 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 8, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21880 - Available when: Unlimited - Due to: Unlimited
| 50 views
2 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 8, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21878 - Available when: Unlimited - Due to: Unlimited
| 66 views
3 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 8, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21874 - Available when: Unlimited - Due to: Unlimited
| 47 views
11,846 questions
152,044 answers
155,432 comments
4,159 users