I have to write this program for a school project and I've been stumped quite well.
The assignment is:
I have limited knowledge of Javascript and I cant really go further with things such as loops.
My code so far: https
/js.do/code/ohgoodgodwhatamidoing
Anybody have an idea on how to do this, using the current code I have?
The assignment is:
Create a webpage that asks for a student’s name and four quiz scores. All pieces of data should be recorded in an array. Student[0] should hold the student’s name. Student[1] should hold test score 1, Student[2] should hold student test score 2 etc. Student[5] should hold the average for that student.
Use prompts to collect the data.
Use a function to calculate the average for the student. Output all the information using an alert.
I have limited knowledge of Javascript and I cant really go further with things such as loops.
My code so far: https

Anybody have an idea on how to do this, using the current code I have?