Evidently they also didn’t know what arrays are.
The moral of this story:
It may be boring, but you should read the language tutorial from start to end.
Knowing the different language constructs saves you time and effort later down the line.
The sad thing is this isn’t even the worst program I’ve heard stories about. I’ve read some pretty scary stuff.