Question: Please help! Please do this as fast as possible All Code in C++ Complete the weather class below, I need values for temperature and humitity

Please help!

Please do this as fast as possible

All Code in C++

Complete the weather class below, I need values for temperature and humitity that relate to certain weather formats (snowing, overcast, sunny, foggy, raining, ect.)

Please help! Please do this as fast as possible All Code in

Specs for the weather class: "Sensors that can detect humidity and temperature will be able to analyzed and differentiate various weather conditions"

******Include many if else() loops, in order to get all types of weather conditions.******

The following is the format of the weather class so far(Note that the ????? are values that need to be plugged in):

public class Weather { public double getWeather() { Double humid = humidity:weather();

Double temp = temperature:weather();

if(humid??????&&temp????????)

{ return 0; //Raining

}

else if(?????????)

{

return 1; //Snowing

}

}

}

Aggregation Streetlight Controller GPS Streetlight Aggregation +getWeather0: double +getLight0: double Aggregation getTraffic0: +getStreetLight0: double + setCommunication0: void double Aggregation Light Weather Communication Traffic getLight0: double Inheritance Inheritance Motion Humidity Temperature Association AssociatinSensors Association Aggregation Streetlight Controller GPS Streetlight Aggregation +getWeather0: double +getLight0: double Aggregation getTraffic0: +getStreetLight0: double + setCommunication0: void double Aggregation Light Weather Communication Traffic getLight0: double Inheritance Inheritance Motion Humidity Temperature Association AssociatinSensors Association

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!