You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let graus=Number(prompt('Digite quantos graus dejeza converter: '))
let temp=Number(prompt('Digite "1" e converta uma temperatura de Celsius para Fahrenheit Digite"2"e converta uma temperatura de fahrenheit para celsio:'))
if (temp==1 ){
graus=(graus * 9/5) + 32;
console.log(`O resultado da converção é ${graus} F°`);
}else if(temp==2){
graus=(graus-32) * 5/9;
console.log(`O resultado daconvenção é ${graus} C°`);