hello am i doing this correctly im trying to add the user input to an array
while (repeat !== "n")
{
var Student = prompt("Enter Student Name: ");
var StudentArr = new Array(Student);
var mark = parseInt( prompt("Enter Student Mark: ") );
var markArr = new Array(mark);
var repeat = prompt ("Do you want to enter another student: y/n");
}