Challenge: Temperature Advisor
Aufgabe
Swipe to start coding
Write a program that gives clothing advice based on the temperature.
Use an if-else statement to check:
- If the temperature is above or equal to 25°C, output:
"It is warm outside. Wear light clothes!". - Otherwise, output:
"It is cold outside. Wear a jacket!".
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 38
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 1.33
Challenge: Temperature Advisor
Swipe um das Menü anzuzeigen
Aufgabe
Swipe to start coding
Write a program that gives clothing advice based on the temperature.
Use an if-else statement to check:
- If the temperature is above or equal to 25°C, output:
"It is warm outside. Wear light clothes!". - Otherwise, output:
"It is cold outside. Wear a jacket!".
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 38
single