123456789101112131415161718 |
- import weather.*;
- public class Program {
- public static void main(String[] args) {
- Central central = new Central();
-
- String[] locations = { "vienna", "moscow", "tokyo", "bangkok", "kapstadt" };
-
- for (String location: locations) {
- central.addStation(location);
- }
-
- for (int i = 0; i < 10; i++) {
- central.measurementEvent();
- }
- }
- }
|