| 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 |
no outgoing calls
no test coverage detected