Explore BrainMass
Share

Program for wind speed, temperature, humidity

This content was STOLEN from BrainMass.com - View the original, and get the solution, here!

In a certain region, pesticide can be sprayed from an iairplane only if the temperature is at least 70 degrees, the relative humidity is between 15 and 35%, and the wind speed is at most 10 miles per hour,

© BrainMass Inc. brainmass.com September 19, 2018, 4:29 pm ad1c9bdddf - https://brainmass.com/computer-science/algorithms/program-wind-speed-temperature-humidity-31575

Solution Preview

Dear student

as you did not write your preference, I am writing the program in C.

Here, scanf function is ...

Solution Summary

Write a program that accepts three numbers representing temperature, relative himidity, and wind speed; assigns the value true or false to the boolean vairable okToSpray according to these criteris; and displays this value.

$2.19