Ask Question
8 June, 18:56

A weather app records the current temperature to the nearest degree Fahrenheit using an int variable temp. The app also uses a String variable tempAdj to store an adjective based on the value of temp which will be used in a short written summary of the current weather. How the values of tempAdj are determined?

+5
Answers (1)
  1. 8 June, 20:12
    0
    Value of temp Value of tempAdj

    80 or greater "Hot"

    From 60 to 79 inclusive "Warm"

    From 40 to 59 inclusive "Cold"

    39 or less "Very cold"

    Explanation:

    Thw value of the item will be set according to the standard reading or records in Fahrenheit.

    Hence, at 80 degree or any value greater it will be set as being Hot.

    From 60 degree to 79 degrees with the inclusion of 79 degrees as being Warm.

    From From 40 degrees to 59 degree with 59 degrees inclusive as "Cold".

    And finally anything less than 39 or less "Very cold"
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “A weather app records the current temperature to the nearest degree Fahrenheit using an int variable temp. The app also uses a String ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers