we're studying javascripting in 9th grade ict and even after researching i still am not able to understand how to do our assignment.
so, basically, we're supposed to make a program using arrays of objects. it has to be user input too. i understand the whole "array + user input" stuff but not the private variables. i'm not sure how to declare my variables as private. i still have 3 weeks to submit this but there's like 3 more programs we're being asked to make so help would really be appreciated. thank you!
for better understanding, here's the instructions given to us:
Create a program using arrays of objects: Make a student registration form with the following information:
A. Make the user input the number of students to be registered.
B. Make the user input the credentials of the students
first name, last name, course, year, section
C. After the user input all the credentials, make the program display all the information of each student.
Note: Declare variables of class as private