Repeat Exercise 15 in Chap. 3 to allow the user to find the hottest city for any

Question:

Repeat Exercise 15 in Chap. 3 to allow the user to find the hottest city for any number of sets of 3 cities. Use input, message, and confirmation dialog boxes. Confirmation dialog boxes are discussed in Appendix A.6. Three input dialog boxes are used to input temperature of three different cities. Then, a message dialog box displays the hottest city. After that a confirmation dialog box should appear to see if the user would like to continue. Use the best iteration structure.


Data From Exercise 15

The dew point temperature is a good indicator of how humid it feels during a hot day. The US National Weather Service (NWS) summarizes the human perception of humidity using the dew point temperatures shown in the table below.

image text in transcribed

Write a complete program using a selection structure to output how a person feels for a given dew point temperature. The program should perform the following tasks:
a. Allow the user to enter a dew point temperature.
b. Determine the human perception for a given dew point temperature.
c. Output the corresponding phrase from the table.
Here is some sample input and output:

image text in transcribed

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: