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
Faça um programa que peça uma nota, entre zero e dez. Mostre uma mensagem caso o valor seja inválido e continue pedindo até que o usuário informe um valor válido.
*/
var nota = prompt('por favor insira uma nota', 0);
nota = parseInt(nota)
while(nota < 0 || nota > 10){
console.log("sua nota é inválida")
nota = prompt('por favor insira uma nota novamente', 0);