Solución
BA@twenty
·hace 13hTypeScriptsolution.tsTypeScript
export function classifyTemp(celsius: number): string {
if(celsius < 10){
return "frío"
} else if (celsius <= 25){
return "templado"
} else {
return "calor"
}
}0respuestas