MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / getClimateData

Method getClimateData

Lab_21/city_temperature_control.cpp:137–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136
137 void getClimateData() {
138
139 City::GetData();
140
141 int array = 0;
142 for (int i = 0; i < 4; i++) {
143 for (int j = 0; j < 3; j++) {
144 cout << cityClimateDate[array] << " ";
145 array++;
146 }
147 ;
148 }
149 cout << "\nAverage Rainfall: " << average / 12.0 << endl << endl;
150 array = 0;
151 }
152};
153
154// class for humodity

Callers 3

CityTemperatureInfoFunction · 0.45
CityRainFallInfoFunction · 0.45
CityHumidityInfoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected