Ask Question

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?

+2
Answers (1)
  1. 4 June, 01:38
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers