/***************************************************************************** * Determines if it is safe to spray a fake substance. * * Inputed: temperature, relative humidity, windspeed * * Outputed: (A statement concluding if it is safe to spray). * * Written: October 9, 2001 * * By: Ronald Roberts * *****************************************************************************/ //Program 20 //09OCT01 #include #include #include int main() { //declaration of variables double temp=0, relhum=0, wind=0; char OkToSpray='f'; //user instruction and user input cout<<"This program takes input for the Temperature,"<>temp; cout<<"Please input relative humidity:"<>relhum; cout<<"Please input wind speed:"<>wind; //cal code if (temp>=70 && relhum>=15 && relhum<=35 && wind<=10) { OkToSpray='t'; } if (OkToSpray=='t') { cout<<"YOU ARE PREMITTTED TO SPRAY"<