var test = prompt("Enter the first test score.");
var test1 = prompt("Enter the second test score.");
var test2 = prompt("Enter the thrird test score.");
var average = (test + test1 + test2) /3;
var total = document.write("The average score is " + average);
Me sale diferentes respuestas que no son.