")
for(var i = 1; i <= numquestions; i++) {
document.writeln("- You answered: " + yourans[i] + "
");
document.writeln("The correct answer is: " + correctans[i] + "");
}
correct = Math.round((correct / numquestions) * 100);
document.writeln("You scored " + correct + "% ");
document.writeln(' | ');
document.writeln('');
document.writeln('Submit a Question ');
document.writeln(' | ');
document.writeln(' |