Sunny skies, cloudy code

Report a typo

You're creating a weather app that displays temperature, humidity, and wind speed. Fill in the blanks in the code to complete the WeatherApp class. Make sure to use proper Java naming conventions for the class, method, and variables.

Fill in the gaps with the relevant elements
  WeatherApp {
    public   main(String[] args) {
         temperatureCelsius = 25.5;
        int humidityPercentage = 60;
        double windSpeedKmph = 15.8;
        System.out.printf("Temperature: %.1f°C\n", temperatureCelsius);
        System.out.printf("Humidity: %d%%\n", humidityPercentage);
        System.out.printf("Wind Speed: %.1f km/h\n", windSpeedKmph);
    }
}
___

Create a free account to access the full topic