Using C++ Visual Basics 2010 The comfort zone temperature for the occupants of a
ID: 3561237 • Letter: U
Question
Using C++ Visual Basics 2010
The comfort zone temperature for the occupants of a building is higher in summer months than it is in winter months. It is also dependent on the value of the relative humidity. Write a program that reads in values for temperature and humidity as well as whether it is summer or winter. Use these values to determine if those conditions fall within the comfort zone or not. For our purposes, the comfort zone is defined by the values in the following table.
Temperature/Humidity Comfort Range
Season
Relative Humidity
Temperature
(
Temperature/Humidity Comfort Range
Season
Relative Humidity
Temperature
(
Explanation / Answer
You can input the temperature with:
float celsius;
cout << "Enter temperature in Celsius: ";
cin >> celsius;
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.