Create a Java program that displays a weather forecast for today. Reorder the lines of code to print the temperature, humidity, and wind speed.
Printing data
Forecast fiesta in your console
Report a typo
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%");
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.