La carte météo n’affiche qu’un mot : en dessous de 10 degrés, "cold" ; à partir de 25, "hot" ; entre les deux, "mild". Écris weather_word(temp), qui renvoie le mot.
weather_word(5)→'cold'weather_word(18)→'mild'weather_word(30)→'hot'const char *weather_word(int temp)const char *weather_word(int temp) {
// ton code ici: sous 10 renvoie "cold"; à partir de 25 renvoie "hot"
return "mild";
}
Exécuter teste les exemples. Quand ils sont bons, appuie sur Envoyer.