Welcome to the Arrays course. Before any code, let's answer the most important question: why do arrays exist at all? Once you see the problem they solve, everything else in this course will make sense.
Imagine you're writing a program for a teacher. There are five students, and you need to store their marks and print the class average. With plain variables, it looks like this:
Free account
Sign up to read the rest of this lesson: 6 more sections, 2 drawings and code in JavaScript, Python, Java and C++.
Still to come
Was this helpful?