static void Main(string[] args) { WeatherSimulator weatherSimulator = new WeatherSimulator(1000); Statistician statistician = new Statistician(weatherSimulator); statistician.StartAnalysis(); statistician.DisplayReport(); }
public Statistician(WeatherSimulator wSimulator) { weatherSimulator = wSimulator; nbTimesTheWeatherChanges = 0; nbTimesItIsSunny = 0; }