Forecast fiesta in your console

Report a typo

Create a Java program that displays a weather forecast for today. Reorder the lines of code to print the temperature, humidity, and wind speed.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                public static void main(String[] args) {
              
                System.out.println("Temperature: 25°C");
              
                }
              
                public class WeatherForecast {
              
                System.out.println("Wind Speed: 10 km/h");
              
                }
              
                System.out.println("Humidity: 60%");
              
___

Create a free account to access the full topic