Thread:King Dragonhoff/@comment-31739971-20180317112510

Can you tell me what is wrong with my codes?(Please help because I am getting graded for this) <!DOCTYPE html> Using Arrays_Logronio   grade = new Array(4); sum=0; for(i=0; i<4; i++){ grade[i] = prompt("Enter the grade",""); sum+=parseInt(grade[i]); } average = sum/4;

document.writeln("List of grades: "); for(i=0; i<4; i++){ document.writeln("Quarter " + (i+1)); document.writeln(grade[i + " "]); } document.writeln("Average :" + average);  