Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Prerequisites . . To complete this project, you need to make sure that you have the following: C++ and the g++ compiler A C++ IDE

image text in transcribed
image text in transcribed
Prerequisites . . To complete this project, you need to make sure that you have the following: C++ and the g++ compiler A C++ IDE or text editor (multiple editors exist for developers) An understanding of the basic CH constructs. . Problem Description Given the following problems, write C++ programs to solve any seven of these problems. 7. To find out the extent of coldness of the weather or the wind chill, certain other factors other than temperature need to be considered. Factors involving relative humidity, wind speed, and sunshine perform vital roles in defining the coldness outside. In 2001, the National Weather Service (NWS) implemented the new wind-chill temperature to measure the coldness using temperature and wind speed. The formula is given as follows: twe = 35.74 +0.6215a - 35.75v0.16 + 0.4275tav0.16 where to is the outside temperature measure in degrees Fahrenheit and v is the wind speed in miles per hour. Twc is the wind-chill temperature. This formula cannot be used for wind speeds below 2 mph or temperatures below -58F or above 41F. Write a C++ program called windchill.cpp that prompts the user to enter a temperature. If the temperature is between -55F and 45F and a wind speed greater than or equal to 2, the program calculates and displays the wind-chill temperature - and then ends. If the value entered by the user is outside the range, the program displays an error saying "Value outside range) and keeps looping till the user enters a valid value

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions

Question

=+ 5. How do unions affect the natural rate of unemployment?

Answered: 1 week ago

Question

Explain the steps involved in training programmes.

Answered: 1 week ago

Question

What are the need and importance of training ?

Answered: 1 week ago

Question

What is job rotation ?

Answered: 1 week ago

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago