Explore BrainMass

Program for wind speed, temperature, humidity

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 July 22, 2018, 9:05 am ad1c9bdddf

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.