Hello, I have a problem. I have made a program that allows the user to type in values into an array. Now I need to know how to add all these arrays together to get the value of all of them.
BTW, althought line add [numbers] is legal, more usual form would be numbers[add]. It is slightly unsettling to see someone actually use something like 6[array] in their code
add is a number. On different loop iterations it will assume values of 0, 1, ..., 6. numbers is an array. Add those two together and your code is equivalent to this: